haima-wallet 0.3.0

Wallet management for Haima — secp256k1 keypair generation, EVM address derivation, encrypted key storage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Wallet management for Haima.
//!
//! Provides secp256k1 keypair generation, EVM-compatible address derivation,
//! encrypted private key storage, and signing operations.
//!
//! The wallet is local-first: private keys are encrypted with ChaCha20-Poly1305
//! and stored as Lago blobs. The abstraction layer supports future MPC wallet
//! backends (e.g., Coinbase CDP MPC) through the `WalletBackend` trait.

pub mod backend;
pub mod evm;
pub mod signer;

pub use backend::WalletBackend;
pub use evm::{decrypt_private_key, derive_address, encrypt_private_key, generate_keypair};
pub use signer::LocalSigner;