Skip to content
A Solana frontend connects to the network, reads accounts, and asks a wallet to sign transactions. Solana Kit (@solana/kit) is the standard JavaScript SDK for this: you assemble a client from small plugins, add React bindings when you need them, and pull in generated clients for the programs you call.

​Main libraries

Coming from web3.js or wallet-adapter?Adopt the Kit plugins above, or upgrade in place to web3.js v3 and wallet-adapter v3+, which keep their familiar APIs on top of Kit.
  • Kit client guide: build a client from plugins for RPC, signing, and sending transactions.
  • React guide: @solana/react bindings and wallet hooks layered on the same client.
  • Messages & auth: sign messages and authenticate wallet users without a transaction.
  • Next.js tutorial: a full connect-wallet and SOL transfer app in the App Router.
  • Migrating to Kit: how web3.js and wallet-adapter concepts map onto Kit.
Security: Frontend checklist
  • Connect wallets through Wallet Standard, with @solana/react and @solana/kit-plugin-wallet or with @solana/wallet-adapter v3.
  • Never ask users for a recovery phrase or private key. The wallet signs, and your app receives only the signature.
  • Treat a connected address as a claim. Verify a signed message on your server before you act for that user.
  • Build each transaction from what the user sees on screen, and add nothing else.
  • Keep RPC API keys and other secrets out of the browser bundle.
  • Limit the scripts that can run on pages that request signatures.
  • Commit your lockfile, install from it in CI, and hold back new releases for a few days.
See the Kit client, React, Messages & auth, and Next.js guides for each rule in detail.