v0.1.0-dev - Phase 1 Complete
Pre-release
Pre-release
Phase 1 complete: the first native Flutter/Dart SDK for Avalanche
can now derive wallets and addresses for all three chains.
What's New
- Seed - BIP-39 seed derivation (PBKDF2-HMAC-SHA512)
- HDWallet - BIP-32/BIP-44 HD key derivation
- C-Chain: m/44'/60'/0'/0/n
- X/P-Chain: m/44'/9000'/0'/0/n
- EvmAddress - C-Chain EVM address (keccak256 + EIP-55)
- XPAddress - X-Chain and P-Chain Bech32 addresses
Full Wallet Cycle
final mnemonic = Mnemonic.generate(wordlist: WordlistEs.instance);
final wallet = HDWallet.fromMnemonic(mnemonic);
final cAddr = EvmAddress.fromPublicKey(
wallet.derivePublicKeyForCChain());
final xpAddr = XPAddress.fromPublicKey(
wallet.derivePublicKeyForXPChain());Tests
254/254 passing · 46 new tests this release
Next
M2: C-Chain JSON-RPC client (EIP-1559 AVAX transfers, ERC-20)