solana

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
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.
本Skill基于Solana官方文档(solana-com)生成,生成时间为2026-02-09。
以下是Solana开发的简明参考指南,涵盖账户、交易、程序、PDA、CPI、手续费、JavaScript/Rust客户端、前端、SPL代币、RPC、支付及专业术语。

Core References

核心参考

TopicDescriptionReference
AccountsAccount model, address, keypair, PDAcore-accounts
Transactions & InstructionsTx format, signatures, message, build & sendcore-transactions-instructions
Versioned Transactionsv0 message, lookup tables, maxSupportedTransactionVersioncore-versioned-transactions
Programs & PDAPrograms, PDA derivation, canonical bumpcore-programs-pda
CPI & FeesCross-program invocation, base/priority fees, CUcore-cpi-fees
RentRent exemption, getMinimumBalanceForRentExemption, reclaim on closecore-rent
主题描述参考链接
账户账户模型、地址、密钥对、PDAcore-accounts
交易与指令交易格式、签名、消息、构建与发送core-transactions-instructions
版本化交易v0消息、查找表、maxSupportedTransactionVersioncore-versioned-transactions
程序与PDA程序、PDA派生、规范bump值core-programs-pda
CPI与手续费跨程序调用、基础/优先级手续费、CUcore-cpi-fees
租金租金豁免、getMinimumBalanceForRentExemption、关闭账户回收租金core-rent

Clients & Frontend

客户端与前端

TopicDescriptionReference
JavaScript/TypeScript@solana/kit, web3.js, @solana/client, SPLclients-javascript
Rustsolana-sdk, solana-client, keypair, RPCclients-rust
React & Next.js@solana/react-hooks, provider, walletfrontend-react-nextjs
主题描述参考链接
JavaScript/TypeScript@solana/kit、web3.js、@solana/client、SPLclients-javascript
Rustsolana-sdk、solana-client、密钥对、RPCclients-rust
React & Next.js@solana/react-hooks、provider、钱包frontend-react-nextjs

Features

功能特性

TopicDescriptionReference
StakingStake accounts, delegate/withdraw, warmup/cooldown, merge/splitfeatures-staking
Confirmation & ExpirationBlockhash validity, commitment levels, confirmation flowfeatures-confirmation
Actions & BlinksSolana Actions API, blinks, actions.jsonfeatures-actions-blinks
Retry & RebroadcastmaxRetries, lastValidBlockHeight, when to re-signfeatures-retry
Fee SponsorshipFee payer, gas abstraction, fee relayerfeatures-fee-sponsorship
Offline SigningSerialize, sign off-network, recover, durable noncefeatures-offline-signing
主题描述参考链接
质押质押账户、委托/提取、预热/冷却、合并/拆分features-staking
确认与过期Blockhash有效性、确认级别、确认流程features-confirmation
Actions与BlinksSolana Actions API、blinks、actions.jsonfeatures-actions-blinks
重试与重广播maxRetries、lastValidBlockHeight、何时重新签名features-retry
手续费赞助手续费支付方、gas抽象、手续费中继器features-fee-sponsorship
离线签名序列化、离线签名、恢复、持久化noncefeatures-offline-signing

Tokens

代币

TopicDescriptionReference
SPL Token BasicsMint, token account, transfer, ATA, approve, burntokens-basics
Token-2022 ExtensionsMetadata, transfer fees, confidential, hookstokens-extensions
主题描述参考链接
SPL代币基础Mint、代币账户、转账、ATA、授权、销毁tokens-basics
Token-2022扩展元数据、转账手续费、保密代币、钩子tokens-extensions

RPC & Payments

RPC与支付

TopicDescriptionReference
RPC HTTP & WebSocketgetAccountInfo, getBalance, subscriptionsrpc-http-websocket
Payments & Solana PayPayment URLs, verification, send/acceptpayments-solana-pay
主题描述参考链接
RPC HTTP与WebSocketgetAccountInfo、getBalance、订阅rpc-http-websocket
支付与Solana Pay支付URL、验证、发送/接收payments-solana-pay

Cookbook & Reference

开发手册与参考

TopicDescriptionReference
Cookbook RecipesSend SOL, keypair, balance, memo, priority feescookbook-recipes
Clusters & TerminologyMainnet, devnet, terms, stakingreferences-clusters-terminology
主题描述参考链接
开发手册示例发送SOL、密钥对、余额、备注、优先级手续费cookbook-recipes
集群与术语主网、测试网、术语、质押references-clusters-terminology

Best Practices

最佳实践

TopicDescriptionReference
Compute OptimizationCU limits, measurement, logging, data types, PDAsbest-practices-compute
主题描述参考链接
计算优化CU限制、测量、日志、数据类型、PDAbest-practices-compute