Conversation
A foundational Solana agent skill for the classic SPL Token program, complementing the existing token-2022 skill. - spl-token: create and manage classic SPL Token mints with @solana/spl-token — mints, associated token accounts (ATAs), minting, transfers (transferChecked), burning, delegates, authorities, freeze/thaw, wrapped SOL, and reading on-chain mint/account state. For standard tokens that do not need Token-2022 extensions. Includes SKILL.md, two runnable examples, resources (program addresses + instruction reference), a setup template, and troubleshooting, and is registered in marketplace.json. Example/template TypeScript typechecks (tsc --noEmit, strict) against @solana/spl-token 0.4.14, @solana/web3.js 1.98.4, and bs58 6.0.0. Verified for agent-followability with Claude Code; not executed against a live cluster. Signed-off-by: PLP-N8n <207336282+PLP-N8n@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a foundational
spl-tokenskill for the classic SPL Token program — the counterpart to the existingtoken-2022skill. It covers the operations every Solana agent needs for standard fungible tokens.What the skill covers
createMint, low-levelcreateInitializeMintInstruction)getOrCreateAssociatedTokenAccount, idempotent creation,getAssociatedTokenAddressSync*Checkedvariants (decimals asserted on-chain)approve/revoke), authorities (setAuthority), freeze/thawNATIVE_MINT, wrap viasyncNative, unwrap viacloseAccount)bigint, no float precision loss)Structure
SKILL.md(spine) ·resources/(program addresses + full instruction reference) ·templates/setup.ts·docs/troubleshooting.md·examples/(two runnable, typechecked examples) — registered inmarketplace.json.Verification
tsc --noEmit(strict) against @solana/spl-token 0.4.14, @solana/web3.js 1.98.4, bs58 6.0.0.Checklist
.claude-plugin/marketplace.json(alphabetical)Signed-off-by: PLP-N8n 207336282+PLP-N8n@users.noreply.github.com