Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

token-extensions

БесплатноБез исполняемых скриптовНе проверен

Token-2022 (Token Extensions) on Solana. Pick, combine and create mint and account extensions with the spl-token CLI, @solana/kit or Anchor, and integrate…

solanabrот solanabr★ 113 звёзд на GitHub

Об этом скилле

Token Extensions (Token-2022)

Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb. Checked on 2026-09-30 against the mainnet program (spl-token-2022 v11.0.0, per its verified build), spl-token-2022-interface 3.1.2, spl-token-cli 5.6.1, @solana-program/token-2022 0.19.0 on @solana/kit 8, and anchor-lang / anchor-spl 1.2.0. Newer releases may rename things; check before relying on a name from memory.

Links into the kit's ext/ directory, here and in the references, need its full install; in a plugin install, read the same paths in solana-foundation/solana-dev-skill.

Pick the extensions

Fixed-size mint extensions can only be set before InitializeMint, so pick them up front. TokenMetadata, TokenGroup and TokenGroupMember can be initialized later, but only if their pointer was set at creation. Venues accept different sets; Orca's rules are in programs.

Extension (mint) Use it for Authority Token accounts get Read
TransferFeeConfig A fee withheld on every transfer fee config, withdraw withheld TransferFeeAmount fees
TransferHook Your program runs on every transfer hook authority (sets the program id) TransferHookAccount transfer-hooks
MetadataPointer + TokenMetadata Name, symbol, URI and fields stored on the mint pointer authority, metadata update authority metadata-groups
GroupPointer + TokenGroup A collection parent mint pointer authority, group update authority metadata-groups
GroupMemberPointer + TokenGroupMember A mint inside a collection pointer authority; group update authority co-signs metadata-groups
PermanentDelegate Issuer can transfer or burn from any account permanent delegate issuer-controls
DefaultAccountState New accounts start frozen (KYC gating) freeze authority issuer-controls
Pausable Stop transfers, mints and burns pause authority PausableAccount issuer-controls
PermissionedBurn Burning needs an extra authority permissioned-burn authority issuer-controls
NonTransferable Soulbound: holders can't transfer none NonTransferableAccount, ImmutableOwner issuer-controls
MintCloseAuthority Close the mint once supply is 0 close authority issuer-controls
InterestBearingConfig Displayed amount accrues interest rate authority display-amounts
ScaledUiAmount Displayed amount = raw × multiplier multiplier authority display-amounts
ConfidentialTransferMint (+ ConfidentialTransferFeeConfig, ConfidentialMintBurn) Encrypted balances and amounts confidential authority, auditor key ConfidentialTransferAccount, opt-in per account confidential

Holder-side account extensions (ImmutableOwner, MemoTransfer, CpiGuard), account sizing and Reallocate: account-extensions. Accepting any Token-2022 mint in a program, and CPIs from Anchor: programs.

Combinations

Combination Result
ConfidentialTransferFeeConfig without both TransferFeeConfig and ConfidentialTransferMint Rejected at InitializeMint: InvalidExtensionCombination
TransferFeeConfig + ConfidentialTransferMint without ConfidentialTransferFeeConfig Rejected: InvalidExtensionCombination
ConfidentialMintBurn without ConfidentialTransferMint Rejected: InvalidExtensionCombination
NonTransferable + ConfidentialTransferMint without ConfidentialMintBurn Rejected: InvalidExtensionCombination
InterestBearingConfig + ScaledUiAmount Rejected: InvalidExtensionCombination
DefaultAccountState Frozen without a freeze authority Rejected: MintCannotFreeze
NonTransferable + TransferFeeConfig or TransferHook Accepted, but pointless: every transfer fails with NonTransferable
NonTransferable + PermanentDelegate The delegate can burn but not transfer
TransferHook + ConfidentialTransferMint Confidential transfers call the hook with amount = u64::MAX
Pausable, while paused TransferChecked, MintTo and burns fail with MintPaused

Tooling gaps: anchor-spl 1.2.0 has no helpers for ScaledUiAmount, PermissionedBurn or the confidential extensions (it builds on spl-token-2022-interface 2.x, which has no PermissionedBurn), and spl-token-cli 5.6.1 can't initialize ConfidentialMintBurn.

spl-token-cli 5.6.1 can't act for a multisig extension authority. set-interest-rate, set-transfer-fee, set-transfer-hook, initialize-metadata, update-metadata, `

Полный SKILL.md на GitHub

Установить token-extensions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/account-extensions.mdreferences/confidential.mdreferences/display-amounts.mdreferences/fees.mdreferences/issuer-controls.mdreferences/metadata-groups.mdreferences/programs.mdreferences/transfer-hooks.md

FAQ

Что делает скилл token-extensions?

Token-2022 (Token Extensions) on Solana. Pick, combine and create mint and account extensions with the spl-token CLI, @solana/kit or Anchor, and integrate extension mints. Use for transfer fees, hooks, metadata, groups, pausable, permanent delegate, soulbound, interest-bearing, scaled UI or confidential tokens.

Как установить скилл token-extensions?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл token-extensions запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить token-extensions с