Bip39 for mnemonic and seed generation, HDWallet for BIP-32/44 key derivation, Secp256k1 / PublicKey for curve operations, and Address for EIP-55 address encoding.
Derivation Pipeline
Imports
HDWallet is exported from @tevm/voltaire/HDWallet and @tevm/voltaire/native. It is not re-exported on the root @tevm/voltaire barrel. All HDWallet functions take an ExtendedKey as their first argument.
Step-by-Step Pipeline
1. Generate and Validate a Mnemonic
2. Derive the 64-Byte Seed
3. Derive Master and BIP-44 Ethereum Keys
4. Derive Ethereum Address (Signing and Watch-Only)
HDWallet.getPublicKey returns a 33-byte compressed secp256k1 key (0x02/0x03 prefix + x). Decompressing it with PublicKey.decompress works for both full keys and watch-only xpub keys where getPrivateKey returns null.
Multi-Account and Watch-Only Wallets
Exporting an account-levelxpub at m/44'/60'/account' lets an online server derive receiving addresses (0/index) without holding private keys. Hardened derivation is impossible from an xpub.
Signing with a Derived Key
Standard Wallet Derivation Paths
Test Vector
The standard 12-word test mnemonic resolves deterministically atm/44'/60'/0'/0/0:

