Skip to content

Roshan-1024/HD-Wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HD Wallet

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.

Features

  • 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

Prerequisites

  • 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

Setup

  1. Clone the repository and navigate into the project directory:
git clone https://github.com/Roshan-1024/HD-Wallet.git
cd HD-Wallet
  1. Install dependencies (for Debian/Ubuntu/WSL):
sudo apt update
sudo apt install build-essential cmake libssl-dev nlohmann-json3-dev
  1. Build the project:
mkdir build
cd build
cmake ..
cmake --build .
  1. Run the executable:
./bin/wallet

Running Unit Tests

To run the tests:

cd build
ctest

Or, run the test executable directly:

./bin/unit_tests

Example Output

HD Wallet CLI Output

Standards Used

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published