Introduction
Ever wondered how a cryptocurrency address is generated from a seed phrase? Today, we’ll explore this process specifically for Solana, breaking it down into four clear steps. While Bitcoin and Ethereum follow similar principles, Solana’s approach is streamlined for clarity.
Step 1: Seed Phrase → Master Keys
Understanding BIP-39 and BIP-32
The journey begins with your seed phrase, a set of 12–24 words acting as your wallet’s master key. For example:
crush desk brain index action subject tackle idea trim unveil lawn liveUsing BIP-39, this phrase is converted into a 512-bit seed via:
- PBKDF2: A cryptographic function using the seed phrase as the "password" and the string
"mnemonic"as the salt. - HMAC-SHA512: The seed is then hashed with the key
"ed25519 seed"(Solana’s curve-specific constant).
The output splits into:
- Master Private Key (first 32 bytes).
- Master Chain Code (next 32 bytes).
👉 Learn more about cryptographic security
Step 2: Master Key → Wallet Private Key
Hierarchical Deterministic Wallets (BIP-32/BIP-44)
Solana adheres to BIP-44’s path structure:
m / 44' / 501' / 0' / 0' / address_index- 44': BIP-44 standard.
- 501': Solana’s coin type (per SLIP-44).
- 0': Account index.
The derivation involves iterative HMAC-SHA512 operations, updating the private key and chain code at each path segment.
Key Insight: Child wallets are derived hierarchically, ensuring security—no backward derivation is possible.
Step 3: Private Key → Solana Key Pair
Using the derived private key:
- ed25519: Solana’s elliptic curve generates a 64-byte private key and 32-byte public key.
Step 4: Key Pair → Solana Address
The final step encodes the public key in base58, resulting in your Solana address:
EWwMxKQa5Gru7oTcS1Wi3AaEgTfA6MU3z7MaLUT6hnDFAQ
Why is Solana’s derivation path different from Ethereum’s?
Solana uses 501' (per SLIP-44) instead of Ethereum’s 60' for coin-type segregation.
Can I generate multiple addresses from one seed phrase?
Yes! Adjust the address_index (e.g., 0' → 1') to create new wallets deterministically.
Is this process reversible?
No. The HMAC-SHA512 ensures one-way derivation—child keys cannot reveal parent keys.
Conclusion
From seed phrase to address, Solana’s process leverages BIP-39, BIP-32, and BIP-44 standards with curve25519 for key generation. By understanding each step, you gain deeper insight into wallet security and hierarchical key management.
Final Output: