| Crates.io | bitcoin_mass_address_generator |
| lib.rs | bitcoin_mass_address_generator |
| version | 0.1.5 |
| created_at | 2025-07-31 04:05:00.0416+00 |
| updated_at | 2025-08-11 07:05:02.49298+00 |
| description | A high-performance multithreaded Bitcoin HD wallet address generator |
| homepage | https://github.com/viraladmin/bitcoin_mass_address_generator |
| repository | https://github.com/viraladmin/bitcoin_mass_address_generator |
| max_upload_size | |
| id | 1774399 |
| size | 62,550 |
A high-performance, multithreaded Bitcoin HD wallet address generator and seed manager written in Rust. Supports BIP44, BIP49, BIP84, and BIP86 derivation paths. Designed for research, auditing, and bulk key generation at massive scale — billions of addresses per hour on modern hardware.
I make nothing creating and sharing the tools I develop. I do it for my love of the space and the people in it.
Help a fellow dev out, I ain't vibe coding here. What's a sat or two between friends? :)
Bitcoin: bc1ql9xt4l62ly6pp7s9358rkdefrwc0mm5yne78xl
cargo install bitcoin_mass_address_generator
Create a .env file in your root directory:
# PostgreSQL connection string
DATABASE_URL="postgres://user:pass@localhost:5432/wallet_addresses"
# PostgreSQL connection string for Bitcoin Balance ETL
# Leave empty if not installed.
# DATABASE_URL2="postgres://user:pass@localhost:5432/btc_wallets"
DATABASE_URL2=""
# Path for to bip39 wordlist
WORDLIST="/etc/bitcoin_mass_address_generator/bip39/wordlist.txt"
# Address types to generate (comma-separated)
# Valid: legacy, segwit, segwit_native, taproot
TYPES="legacy, segwit, segwit_native, taproot"
# Total number of threads to run (parallel tasks)
THREADS=20
# Number of seeds to generate
SEEDS=1000000
# Number of addresses per seed
ADDRESSES=4000000
# How often to flush to DB (e.g. 2 = write every 2 seeds)
WRITES=2
CREATE TABLE keys (
id BIGINT,
words SMALLINT[] NOT NULL
);
CREATE TABLE addresses (
id BIGINT,
seed_id BIGINT NOT NULL,
address TEXT NOT NULL
);
Add indexes to the database tables after creation.
CREATE INDEX ON addresses(seed_id, id);
CREATE INDEX ON keys(id);
./bitcoin_mass_address_generator generate
This will spawn N threads (defined in .env) to generate seed phrases and addresses, writing in bulk to PostgreSQL.
./bitcoin_mass_address_generator recall <seed_index> <address_index>
Returns:
./bitcoin_mass_address_generator write_file <option> <file> <limit>
Exports data from the database to a file. Each option controls what is written.
addresses
Writes a list of wallet addresses (1 per line).
Example output: bc1qxyz... bc1qabc...
seeds
Writes seed phrases (1 per line). These are human-readable phrases derived from stored index arrays.
Example output: gravity spy pencil vault signal elite brief avoid coach style flush attack
seeds_addresses
Writes seed phrase and corresponding address on each line.
Example output: gravity spy pencil vault signal elite brief avoid coach style flush attack - bc1qxyz...
<file> — Output filename<limit> — Max number of rows to export./bitcoin_mass_address_generator write_file seeds_addresses exported.txt 100
This will write the first 100 seed-address pairs to exported.txt.
./bitcoin_mass_address_generator examine <seed_id>
Checks each address under given seed id and returns address if balance is greater than 0.
./bitcoin_mass_address_generator examine 1
Returns all addresses for the first seed with a balance greater than 0.
MIT
This tool is provided as is for educational and research purposes only. Do not use it to generate production wallets without extreme care. No warranty is provided for any loss of funds.