The official JavaScript/TypeScript SDK for interacting with the Solana JSON RPC API.
Default choice.
Libraries and frameworks for building on Solana.
Pick the SDK that matches your language. Add Anchor for Rust programs.
The foundation of Solana development starts with choosing the right SDK for your language. Solana Web3.js is the official JavaScript/TypeScript library and the most widely used — it covers the full JSON RPC API and works in both Node.js and the browser. Gill is a lighter modern alternative with a tree-shakable API and smaller bundle size.
For smart contract development in Rust, Anchor is the dominant framework. It provides an IDL specification, account validation macros, and generates client-side TypeScript bindings automatically, eliminating most of the boilerplate that raw Solana programs require. Python developers can write programs via Seahorse, which compiles to Anchor under the hood. Go developers have solana-go; Python RPC work uses solana-py, backed by the fast Rust-based solders types.
For testing, LiteSVM is the current recommendation — it runs a lightweight in-process Solana runtime that makes unit tests fast and deterministic without needing a local validator. It replaced solana-bankrun, which is now deprecated.
The official JavaScript/TypeScript SDK for interacting with the Solana JSON RPC API.
Default choice.
A framework for Solana's Sealevel runtime providing several convenient developer tools and an IDL specification.
Editor's pick for on-chain programs.
Python bindings and SDK for Solana. solders provides fast Rust-backed types; solana-py provides the RPC client.
A lightweight, modern TypeScript library for Solana with a minimal footprint and tree-shakable API.
Go client library and utilities for the Solana blockchain.
JavaScript SDK for interacting with Metaplex programs — NFT minting, auction houses, and more.
Fast and lightweight library for testing Solana programs. The recommended alternative to the deprecated solana-bankrun.
Use this, not bankrun.