solana_kit#
A portable Rust Solana client for native applications, browser WebAssembly, WASI, and embedded WebAssembly.
solana_kit is for off-chain application code: wallets, services, indexers, and apps that read accounts, build transactions, and talk to RPC nodes. One no_std + alloc core owns addresses, codecs, messages, and transactions. Typed RPC sits on top of it without choosing an executor, and a small adapter crate per runtime owns the network.
Where it runs#
Native
solana_kit_native
Bounded Tokio HTTP/1, TLS, and WebSockets with deadlines, cancellation, and authentication.
Browser
solana_kit_browser
Window Fetch and WebSocket on wasm32-unknown-unknown, with local futures.
WASI
solana_kit_wasi
Caller-owned WASI Preview2 HTTP and sockets on wasm32-wasip2.
LeptosKit
solana_kit_leptoskit
Guest and host transports for LeptosKit apps, with optional wallet controls.
Start here#
New to the SDK? Read these in order, from an empty project to a confirmed transaction:
Install the crates#
Installation covers dependencies, features, targets, and the toolchain.
Make a first call#
Quick start reads a balance and the latest blockhash over native HTTP.
Read, build, and send#
Addresses and keys, Fetch an account, Build a transaction, then Sign and send.
Find your way#
How codecs, accounts, transactions, signers, RPC, and subscriptions fit together.
RuntimesPick the transport for native, browser, WASI, or LeptosKit, and connect a wallet.
Program clientsTyped builders and parsers for System, Token, Metaplex, Anchor, and more.
ServicesHelius, Jupiter, Pyth, Surfpool, and the dApp Store publisher.
CratesEvery crate in the workspace, what it is for, and how far along it is.
Parity and statusWhat is implemented, partial, or pending, and where the ledgers live.
Honest status#
solana_kit is young. Each capability is recorded as implemented, partial, or pending in ledgers that live in the repository, and these docs say plainly when something is partial. When a page and the source disagree, the source wins. Parity and status explains how to read the ledgers.