Easily generate secure cryptocurrency wallets with this modular, standards-compliant HD wallet engine built in C++. Whether you're learning how wallet internals work, building blockchain tools, or experimenting with key derivation and address formats, this CLI tool helps you create mnemonics, derive keys using BIP-32, and generate addresses with precision all with minimal dependencies and full control.
- Create secure wallet phrases of various lengths
- Generate a full set of keys from a single phrase
- Get both public and private keys instantly
- Create addresses compatible with multiple blockchain formats
- Select from different coin types at runtime
- Use the tool entirely from your terminal
- Designed to be fast, lightweight, and easy to extend
- A Linux environment (or WSL on Windows)
- A C++17-compatible compiler (e.g.
g++) - OpenSSL development libraries (
libssl-dev) - nlohmann‑json header‑only library (
nlohmann‑json3-dev) - CMake version 3.14 or higher
- Clone the repository and navigate into the project directory:
git clone https://github.com/Roshan-1024/HD-Wallet.git
cd HD-Wallet- Install dependencies (for Debian/Ubuntu/WSL):
sudo apt update
sudo apt install build-essential cmake libssl-dev nlohmann-json3-dev- Build the project:
mkdir build
cd build
cmake ..
cmake --build .- Run the executable:
./bin/walletTo run the tests:
cd build
ctestOr, run the test executable directly:
./bin/unit_tests
