Solana Kit
@solana/kit is the recommended TypeScript SDK for building on Solana. You
assemble a client from composable plugins, add React bindings when you need
them, and pull in generated program clients for the on-chain programs you call.
| Package | Description | GitHub |
|---|---|---|
| @solana/kit | Core SDK: RPC, transactions, codecs, signers | Source |
| @solana/react | React bindings: ClientProvider and hooks | Source |
| @solana/kit-plugin-rpc | RPC connection + transaction sending | Source |
| @solana/kit-plugin-signer | Fee payer, identity, and signer plugins | Source |
| @solana/kit-plugin-wallet | Wallet Standard connection + React hooks | Source |
Program clients
Generated clients that expose instruction builders and client plugins (for
example tokenProgram() → client.token).
| Package | Description | GitHub |
|---|---|---|
| @solana-program/system | Interact with System program | Source |
| @solana-program/token | Interact with Token program | Source |
| @solana-program/token-2022 | Interact with Token-2022 program | Source |
| @solana-program/memo | Interact with Memo program | Source |
| @solana-program/compute-budget | Interact with Compute Budget program | Source |
Signing & Key Management
For kit-compatible backend signing across multiple key management backends:
| Package | Description | GitHub |
|---|---|---|
| @solana/keychain | Unified signing: Memory, Vault, Privy, Turnkey, AWS KMS, Fireblocks, GCP KMS, CDP, Para, Dfns, Crossmint, Openfort, Utila, Fordefi | Source |
See the Keychain documentation and Choosing a backend for setup and custody-model guidance.
Solana Web3.js v3
@solana/web3.js v3 is the recommended version of web3.js. It rebuilds the
classic class-based API — Connection, Keypair, Transaction, PublicKey —
on top of @solana/kit internals, so it works with Kit primitives and the
program clients above. Use it if you are upgrading an existing web3.js app or
prefer the class-based API.
Most methods that were synchronous in the legacy SDK, such as
Keypair.generate() and transaction.sign(), are now async.
npm install @solana/web3.js@3
| Package | Description | GitHub |
|---|---|---|
| @solana/web3.js | Core SDK | Source |
@solana/spl-token depends on @solana/web3.js (legacy) and does not run on
v3. Use @solana-program/token or @solana-program/token-2022 instead; their
generated instructions and instruction plans work directly with v3's
Transaction.add().
Solana Web3.js (legacy)
@solana/web3.js (legacy, 1.x) is the original TypeScript SDK for Solana. It
is in maintenance mode and receives critical fixes only. Existing codebases can
upgrade to web3.js v3
or migrate to Kit.
Is this page helpful?