This script generates multiple secure crypto wallets with the following features:
✅ Mnemonic phrase (24 words) ✅ Ed25519 keypair (private/public) ✅ Address in the format: prefix + Base58(SHA256(pubkey)) ✅ JSON backup of all data ✅ Separate text files listing mnemonic, private keys, public keys, and addresses
Create a file called requirements.txt with:
bip-utils
pynacl
base58
rich
Then install:
pip install -r requirements.txt
After installing dependencies:
python Gen_wallet.py
You will be prompted:
Number of wallets to generate
Address prefix (e.g. oct, etc.)
Assuming you enter prefix = lumera, it will generate these files:
Contents: Full JSON dump of all wallets.
Each entry contains:
mnemonic (24-word phrase)
private_key_b64 (Base64)
public_key_b64 (Base64)
address (prefix + Base58(SHA256(pubkey)))
entropy (internal identifier)
Purpose: Complete backup, import/export, auditing.
Contents: All generated mnemonic phrases, one per line.
Purpose: Human-readable backup of recovery phrases.
Usage: Can be used to restore wallet access anywhere.
Contents: Base64-encoded private keys, one per line.
Purpose: Wallet signing authority.
Contents: Base64-encoded public keys, one per line.
Purpose: For verification and identity.
Usage: Safe to share for verifying signatures.