Skip to content

​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 onchain programs you call.
PackageDescriptionGitHub
@solana/kitCore SDK: RPC, transactions, codecs, signersSource
@solana/reactReact bindings: ClientProvider and hooksSource
@solana/kit-plugin-rpcRPC connection + transaction sendingSource
@solana/kit-plugin-signerFee payer, identity, and signer pluginsSource
@solana/kit-plugin-walletWallet Standard connection + React hooksSource

​Program clients

Generated clients that expose instruction builders and client plugins (for example tokenProgram() → client.token).
PackageDescriptionGitHub
@solana-program/systemInteract with System programSource
@solana-program/tokenInteract with Token programSource
@solana-program/token-2022Interact with Token-2022 programSource
@solana-program/memoInteract with Memo programSource
@solana-program/compute-budgetInteract with Compute Budget programSource

​Signing & Key Management

For kit-compatible backend signing across multiple key management backends:
PackageDescriptionGitHub
@solana/keychainUnified signing: Memory, Vault, Privy, Turnkey, AWS KMS, Fireblocks, GCP KMS, CDP, Para, Dfns, Crossmint, Openfort, Utila, FordefiSource
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.
PackageDescriptionGitHub
@solana/web3.jsCore SDKSource
@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.
@solana/web3.js 1.x is no longer actively maintainedIt receives critical fixes only. Use Kit for new code. To migrate existing code, follow the Kit upgrade guide, or the web3.js v3 migration guide to keep the class-based API.To run this code, install 1.x with npm install @solana/web3.js@1. A plain npm install @solana/web3.js installs v3, which this code doesn’t run on.

Legacy packages

PackageDescriptionGitHub
@solana/web3.jsCore SDK (1.x)Source
@solana/spl-tokenInteract with Token, Token-2022, and Associated Token programsSource
@solana/spl-memoInteract with Memo programSource