|new 1.17.7||Dec 1, 2023|
|1.17.6||Nov 17, 2023|
|1.17.4||Oct 30, 2023|
|1.16.21||Dec 3, 2023|
|0.10.4||Nov 9, 2018|
#1345 in Magic Beans
71,767 downloads per month
Used in 592 crates (400 directly)
Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.
More information about Solana is available in the Solana documentation.
The Solana Program Library provides examples of how to use this crate.
Still have questions? Ask us on Stack Exchange
The Solana host and client SDK.
This is the base library for all off-chain programs that interact with
Solana or otherwise operate on Solana data structures. On-chain programs
instead use the
solana-program crate, the modules of which are
re-exported by this crate, like the relationship between the Rust
std crates. As much of the functionality of this crate is
solana-program, see that crate's documentation for an
Many of the modules in this crate are primarily of use to the Solana runtime
itself. Additional crates provide capabilities built on
many programs will need to link to those crates as well, particularly for
clients communicating with Solana nodes over RPC.
Such crates include:
solana-client- For interacting with a Solana node via the JSON-RPC API.
solana-cli-config- Loading and saving the Solana CLI configuration file.
solana-clap-utils- Routines for setting up the CLI using
clap, as used by the Solana CLI. Includes functions for loading all types of signers supported by the CLI.