aeko_rust_sdk/lib.rs
1//! High-level Rust developer SDK for AEKO Chain application clients.
2//!
3//! This crate is intended for off-chain integrations such as:
4//!
5//! - async JSON-RPC access to AEKO nodes
6//! - AEKO-721 instruction planning
7//! - wallet-permissions instruction planning
8//! - typed decoding of current AEKO NFT and wallet-permissions accounts
9//!
10//! # Quick Start
11//!
12//! ```no_run
13//! use aeko_rust_sdk::AekoDeveloperClient;
14//!
15//! #[tokio::main]
16//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
17//! let client = AekoDeveloperClient::new("https://api.testnet.aeko.chain".to_string());
18//! let balance = client
19//! .get_balance("11111111111111111111111111111111")
20//! .await?;
21//! println!("balance: {balance}");
22//! Ok(())
23//! }
24//! ```
25//!
26//! See the individual builder and client exports below for the current public surface.
27
28pub mod builders;
29pub mod client;
30pub mod error;
31
32pub use {
33 builders::*,
34 client::AekoDeveloperClient,
35 error::{AekoRustSdkError, AekoRustSdkResult},
36};