df_elysium_core/lib.rs
1//! Elysium SDK for Rust, on df-hyperliquid-core.
2//!
3//! - [`client`]: the [`Client`], the network, the JSON-RPC Nitro adds, typed contract calls and
4//! reads.
5//! - [`nitro`]: ArbOS's precompiles and the NodeInterface.
6//! - [`gas`]: what a transaction costs, Elysium's gas and HyperEVM's data split.
7//! - [`account`]: signers, balances and nonces.
8//! - [`transfer`]: HYPE, ERC-20s and Multicall3.
9//! - [`bridge`]: HYPE and messages between HyperEVM and Elysium, both ways.
10//! - [`deploy`]: contracts, CREATE2, Stylus and source verification.
11//! - [`live`]: new blocks and logs, polled.
12//! - [`utils`]: addresses, exact decimals, hex and HYPE's units.
13//!
14//! Testnet only until Kinetiq publishes mainnet. Money is exact integers and decimals, never
15//! floats. Features: `sign` and `native` (default), `web`, `offline`.
16
17pub mod account;
18pub mod bridge;
19pub mod client;
20pub mod deploy;
21pub mod gas;
22pub mod live;
23pub mod nitro;
24pub mod transfer;
25pub mod utils;
26
27#[cfg(test)]
28pub(crate) mod test_support;
29
30pub use client::{Client, Network};
31pub use df_hyperliquid_core::client::evm::{B256, U256};
32pub use utils::{Address, Dec};