1---2name: solana-kit3description: Solana Kit (JavaScript SDK) — RPC, signers, transactions, accounts, codecs, instruction plans, and program clients for agent-driven Solana tooling.4metadata:5 author: Hairy6 version: "2026.2.25"7 source: Generated from https://github.com/anza-xyz/kit, scripts located at https://github.com/antfu/skills8---910> Skill based on Kit (anza-xyz/kit), generated 2026-02-25.1112Concise reference for building Solana apps with Kit: functional API, tree-shakeable imports, RPC + RPC Subscriptions, signers, transaction messages, account fetch/decode, codecs, and program clients.1314## Core References1516| Topic | Description | Reference |17|-------|-------------|-----------|18| Setup | Install, RPC/RPC Subscriptions, typed client | [core-setup](references/core-setup.md) |19| RPC | HTTP client — getBalance, getAccountInfo, getLatestBlockhash, send | [core-rpc](references/core-rpc.md) |20| RPC Subscriptions | WebSocket — accountNotifications, slotNotifications | [core-rpc-subscriptions](references/core-rpc-subscriptions.md) |21| Functional | pipe(), pipeline transforms | [core-functional](references/core-functional.md) |22| Signers | KeyPairSigner, airdrop, wallet swap, no-op | [core-signers](references/core-signers.md) |23| Transactions | pipe, fee payer, lifetime, instructions, sign, send-and-confirm | [core-transactions](references/core-transactions.md) |24| Transaction confirmation | Block height exceedence, recent signature, nonce invalidation, timeout | [core-transaction-confirmation](references/core-transaction-confirmation.md) |25| Accounts | fetchEncodedAccount, program fetch/decode (fetchMint, decodeMint) | [core-accounts](references/core-accounts.md) |26| Address lookup tables | fetchLookupTables, compress message, decompile with lookups | [core-address-lookup-tables](references/core-address-lookup-tables.md) |27| Addresses | Address type, validation, PDA derivation, codecs | [core-addresses](references/core-addresses.md) |28| Sysvars | Fetch/decode Clock, Rent, EpochSchedule, etc. | [core-sysvars](references/core-sysvars.md) |2930## Features3132| Topic | Description | Reference |33|-------|-------------|-----------|34| Instructions | Program clients — System, Token, Compute Budget | [features-instructions](references/features-instructions.md) |35| Instruction plans | Sequential/parallel plans, planner, executor | [features-instruction-plans](references/features-instruction-plans.md) |36| Codecs | Encode/decode structs, program getXCodec | [features-codecs](references/features-codecs.md) |37| Compatible program clients | @solana-program/*, Codama-generated clients | [features-compatible-clients](references/features-compatible-clients.md) |38| Compat (Web3.js) | fromLegacyPublicKey, fromLegacyKeypair, fromVersionedTransaction | [features-compat](references/features-compat.md) |39| Errors | SolanaError, isSolanaError, context | [features-errors](references/features-errors.md) |40| GraphQL | createSolanaRpcGraphQL, nested queries, caching/batching | [features-graphql](references/features-graphql.md) |41| Key pairs | generateKeyPair, import bytes, polyfill | [features-keypairs](references/features-keypairs.md) |42| Offchain messages | Build, sign, verify, encode/decode (sRFC 3) | [features-offchain-messages](references/features-offchain-messages.md) |43| Program errors | isProgramError — attribute tx failure to program/code | [features-program-errors](references/features-program-errors.md) |44| React | useSignIn, useWalletAccountTransactionSigner, useSignAndSendTransaction | [features-react](references/features-react.md) |45| RPC transports | Custom transport — failover, retry, round-robin, sharding | [features-rpc-transports](references/features-rpc-transports.md) |46| RPC API augmentation | mainnet/devnet, cherry-pick methods, custom RPC methods | [features-rpc-api-augmentation](references/features-rpc-api-augmentation.md) |47| Create Solana program | pnpm create solana-program, Codama-generated JS client | [features-create-solana-program](references/features-create-solana-program.md) |48| Unstable subscriptions | createSolanaRpcSubscriptions_UNSTABLE, block/slotsUpdates | [features-unstable-subscriptions](references/features-unstable-subscriptions.md) |4950## Best practices5152| Topic | Description | Reference |53|-------|-------------|-----------|54| Abort RPC/subscriptions | AbortController, timeout, cancel on navigation | [best-practices-abort-rpc](references/best-practices-abort-rpc.md) |55| Tree-shaking | Narrow imports, sub-packages, smaller bundles | [best-practices-tree-shaking](references/best-practices-tree-shaking.md) |56| Upgrade from Web3.js | Connection → RPC, PublicKey → address, compatible clients | [best-practices-upgrade](references/best-practices-upgrade.md) |