df-papertrade-core 0.0.11-beta

Papertrade SDK for Rust on df-hyperliquid-core: intents, relayer, live account, session keys, signed writes, deposits and exact venue math. Wasm-ready.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! The session key's lifecycle: made from the caller's randomness, kept in the
//! [`Store`](crate::account::Store) for 30 days, registered once by the wallet, and renewed near
//! its end. It signs opens, closes and cancels without a wallet prompt, and can never withdraw,
//! stake or claim.

pub mod key_state;
mod lifecycle;
pub mod record;

pub use key_state::{INDEXER_GRACE_MS, KeyState, key_state};
pub use record::SessionRecord;