SOLANA • 2025

Solana Wallet Generator

Solana Wallet Generator
TIMELINEMarch 2025
TECH STACKNext.js, Tailwind CSS, bip39, ed25519-hd-key, tweetnacl
OVERVIEW

A simple tool to generate Solana wallets

Built a client-side wallet generator while learning Solana development. It creates seed phrases and derives multiple accounts using standard cryptographic libraries.
THE PROBLEM

Theory only takes you so far

I was starting to learn Solana and wanted to understand the basics - how seed phrases generate keys, how multiple accounts derive from one phrase, and how the cryptography fits together.
I had already learned about Bitcoin wallets, so I had a decent understanding of wallets already but I couldn't internalize it fully by just learning the theory.
THE SOLUTION

Just build it out

I learn better by building things than just reading docs, so I decided to make a simple wallet generator.
A web tool that generates a 12-word seed phrase and shows the first account's keys. I added the feature to create additional accounts from the same seed - either one by one or by jumping to a specific index by just entering the index number.
  • Stack: Next.js, Tailwind CSS
  • Mnemonic Phrases: bip39
  • Hierarchical Key Derivation: ed25519-hd-key
  • Cryptography: tweetnacl
  • Encoding Address: bs58
The flow is straightforward: generate a random mnemonic -> convert it to a seed -> derive the master key -> generate child keypairs at specific indices. I tested this by importing generated wallets into Phantom and Solflare to make sure the addresses matched up correctly.
While I was at it, I also added some nice-to-have features like copy buttons, show/hide toggles for private keys, and a delete button to clear everything. It's all client-side application and the data is just stored in memory (refreshing the page clears it).
REFLECTION

A quick project to understand the basics

This was a fun little side project to get hands-on with Solana's core concepts. It helped me see how wallet derivation actually works in practice, and it was satisfying to import the generated accounts into real wallets and see them work. Just a simple tool built to learn.