1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! # Xorion SDK
//!
//! Multi-chain wallet SDK for the Xorion Web3 OS. Provides HD wallet
//! creation, blockchain RPC, and smart contract interaction.
//!
//! ## Quick Start
//!
//! ```rust
//! use xos_sdk::Wallet;
//!
//! let wallet = Wallet::from_mnemonic(
//! "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"
//! ).unwrap();
//! let eth = wallet.derive_eth_address().unwrap();
//! assert!(eth.starts_with("0x"));
//! ```
/// ERC-20 token interface for querying balances, allowances, and transfers.
pub use Erc20;
/// Uniswap V2 pair interface for reading reserves and swap data.
pub use UniswapV2Pair;
/// Uniswap V2 router interface for encoding swap calls.
pub use UniswapV2Router;
/// Top-level error type for wallet and derivation operations.
pub use WalletError;
/// Unified wallet client providing a high-level API over the kernel layer.
pub use WalletClient;
/// Blockchain chain identifier (Ethereum, Solana).
pub use Chain;
/// Trait for async blockchain RPC providers.
pub use ChainProvider;
/// Parsed transaction receipt from RPC responses.
pub use TransactionReceipt;
/// BIP-39/BIP-44 HD wallet with multi-chain address derivation.
pub use Wallet;