solana
4
总安装量
4
周安装量
#51066
全站排名
安装命令
npx skills add https://github.com/hairyf/blockchain-skills --skill solana
Agent 安装分布
opencode
4
gemini-cli
4
github-copilot
4
codex
4
amp
4
kimi-cli
4
Skill 文档
Skill is based on Solana documentation (solana-com), generated 2026-02-09.
Concise reference for building on Solana: accounts, transactions, programs, PDAs, CPI, fees, JavaScript/Rust clients, frontend, SPL tokens, RPC, payments, and terminology.
Core References
| Topic | Description | Reference |
|---|---|---|
| Accounts | Account model, address, keypair, PDA | core-accounts |
| Transactions & Instructions | Tx format, signatures, message, build & send | core-transactions-instructions |
| Versioned Transactions | v0 message, lookup tables, maxSupportedTransactionVersion | core-versioned-transactions |
| Programs & PDA | Programs, PDA derivation, canonical bump | core-programs-pda |
| CPI & Fees | Cross-program invocation, base/priority fees, CU | core-cpi-fees |
| Rent | Rent exemption, getMinimumBalanceForRentExemption, reclaim on close | core-rent |
Clients & Frontend
| Topic | Description | Reference |
|---|---|---|
| JavaScript/TypeScript | @solana/kit, web3.js, @solana/client, SPL | clients-javascript |
| Rust | solana-sdk, solana-client, keypair, RPC | clients-rust |
| React & Next.js | @solana/react-hooks, provider, wallet | frontend-react-nextjs |
Features
| Topic | Description | Reference |
|---|---|---|
| Staking | Stake accounts, delegate/withdraw, warmup/cooldown, merge/split | features-staking |
| Confirmation & Expiration | Blockhash validity, commitment levels, confirmation flow | features-confirmation |
| Actions & Blinks | Solana Actions API, blinks, actions.json | features-actions-blinks |
| Retry & Rebroadcast | maxRetries, lastValidBlockHeight, when to re-sign | features-retry |
| Fee Sponsorship | Fee payer, gas abstraction, fee relayer | features-fee-sponsorship |
| Offline Signing | Serialize, sign off-network, recover, durable nonce | features-offline-signing |
Tokens
| Topic | Description | Reference |
|---|---|---|
| SPL Token Basics | Mint, token account, transfer, ATA, approve, burn | tokens-basics |
| Token-2022 Extensions | Metadata, transfer fees, confidential, hooks | tokens-extensions |
RPC & Payments
| Topic | Description | Reference |
|---|---|---|
| RPC HTTP & WebSocket | getAccountInfo, getBalance, subscriptions | rpc-http-websocket |
| Payments & Solana Pay | Payment URLs, verification, send/accept | payments-solana-pay |
Cookbook & Reference
| Topic | Description | Reference |
|---|---|---|
| Cookbook Recipes | Send SOL, keypair, balance, memo, priority fees | cookbook-recipes |
| Clusters & Terminology | Mainnet, devnet, terms, staking | references-clusters-terminology |
Best Practices
| Topic | Description | Reference |
|---|---|---|
| Compute Optimization | CU limits, measurement, logging, data types, PDAs | best-practices-compute |