1 stable release
| 3.0.0 | Sep 1, 2025 |
|---|
#28 in #on-chain-programs
490KB
8K
SLoC
Atlas SDK
Use the Atlas SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Atlas Program Crate instead.
More information about Atlas is available in the Atlas documentation.
The Atlas Program Library provides examples of how to use this crate.
lib.rs:
The Atlas host and client SDK.
This is the base library for all off-chain programs that interact with
Atlas or otherwise operate on Atlas data structures. On-chain programs
instead use the atlas-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 atlas-program, see that crate's documentation for an
overview.
Many of the modules in this crate are primarily of use to the Atlas runtime
itself. Additional crates provide capabilities built on atlas-sdk, and
many programs will need to link to those crates as well, particularly for
clients communicating with Atlas nodes over RPC.
Such crates include:
atlas-client- For interacting with a Atlas node via the JSON-RPC API.atlas-cli-config- Loading and saving the Atlas CLI configuration file.atlas-clap-utils- Routines for setting up the CLI usingclap, as used by the Atlas CLI. Includes functions for loading all types of signers supported by the CLI.
Dependencies
~9–12MB
~249K SLoC