17 releases (3 stable)
1.16.0 | Feb 21, 2023 |
---|---|
1.16.0-alpha.11 | May 30, 2023 |
1.16.0-alpha.10 | Mar 24, 2023 |
1.16.0-alpha.5 | Feb 27, 2023 |
1.15.0 | Jan 7, 2023 |
#53 in #signer
284 downloads per month
Used in 65 crates
(64 directly)
1.5MB
27K
SLoC
Solana SDK
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 Discord
lib.rs
:
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
core
and std
crates. As much of the functionality of this crate is
provided by solana-program
, see that crate's documentation for an
overview.
Many of the modules in this crate are primarily of use to the Solana runtime
itself. Additional crates provide capabilities built on solana-sdk
, and
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 usingclap
, as used by the Solana CLI. Includes functions for loading all types of signers supported by the CLI.
Dependencies
~15–26MB
~420K SLoC