419 stable releases

new 2.1.1 Nov 16, 2024
2.0.16 Nov 16, 2024
2.0.3 Jul 20, 2024
1.18.26 Oct 11, 2024
0.10.4 Nov 9, 2018

#309 in Magic Beans

Download history 25571/week @ 2024-07-27 52025/week @ 2024-08-03 33684/week @ 2024-08-10 26903/week @ 2024-08-17 28380/week @ 2024-08-24 28173/week @ 2024-08-31 23660/week @ 2024-09-07 19357/week @ 2024-09-14 179541/week @ 2024-09-21 182611/week @ 2024-09-28 612881/week @ 2024-10-05 486197/week @ 2024-10-12 509920/week @ 2024-10-19 59351/week @ 2024-10-26 35705/week @ 2024-11-02 25467/week @ 2024-11-09

647,066 downloads per month
Used in 853 crates (615 directly)

Apache-2.0

1.5MB
28K SLoC

Solana

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 Stack Exchange


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:

Dependencies

~12–24MB
~383K SLoC