Installation
Get started with Kit
Kit is a JavaScript SDK for building Solana apps across environments like Node, the web, and React Native. It provides a comprehensive set of data types and helper functions, forming the foundation for interacting with Solana in JavaScript.
Coming from Web3.js?
Check out our Upgrade guide to see how Kit compares to Web3.js.
Quick start
Follow these simple steps to install and get started with Kit:
Install Kit
Install Kit using the main @solana/kit
library. It includes many smaller packages — such as @solana/rpc
or @solana/transactions
— that can also be used individually for more granular imports.
Install program clients
Install Kit compatible clients for any program you want to interact with. For example, to interact with the System program, install the @solana-program/system
package. You can find a list of available program clients here.
Set up your project
Use primitives provided by Kit to set up your project and start interacting with Solana!
For example, if you are planning on sending transactions, you will likely need an RPC API, an RPC Subscriptions API and a "send and confirm" strategy.
Check out our Getting started tutorial and our Core concepts guides to learn more about how to use Kit.