Skip to main content
Skill — Copyable reference implementation. Use as-is or customize. See Skills Philosophy.

Overview

Generate Ethereum wallets using BIP-39 mnemonics and BIP-32/BIP-44 hierarchical deterministic key derivation. This guide covers the complete workflow from mnemonic generation to Ethereum address derivation.

Quick Start

Generate Mnemonic

BIP-39 mnemonics provide human-readable backup for wallet seeds.

12-Word Mnemonic (128 bits)

Entropy to Word Count

Derive Seed from Mnemonic

Convert mnemonic to 64-byte seed using PBKDF2-HMAC-SHA512.

Async Derivation

Sync Derivation

Create HD Wallet

Create hierarchical deterministic wallet from seed.

Derive Ethereum Accounts

Use BIP-44 path m/44'/60'/account'/0/index for Ethereum.

Single Account

Multiple Addresses

Multiple Accounts

Get Ethereum Address

Convert private key to Ethereum address.

Import Existing Mnemonic

Restore wallet from backed-up mnemonic.

Import from Extended Key

Restore from xprv/xpub string.

Custom Derivation Paths

Derive keys using any BIP-32 path.

Complete Wallet Class Example

Security Best Practices

Entropy Quality

Passphrase Usage

Memory Handling

Storage Guidelines

  • Mnemonic: Write on paper, store in fireproof safe, never digital
  • Passphrase: Memorize or store separately from mnemonic
  • xprv: Treat like private key, never transmit unencrypted
  • xpub: Safe to share for watch-only access

API Reference

Bip39 Functions

HDWallet Functions

Address Functions

References