A Bitcoin test wallet’s generator to help bitcoin programmers.
- 
Generate six wallets (Alice, Bob, Carol, Dave Eve, Mallory)
 - 
Create a json file detailing all the cryptographic materials
 - 
Import private keys to Bitcoin Core
 
- 
>= NodeJS v10
 - 
Bash or a Bash interpreter like Cygwin or Windows Subsystem for Linux (WSL)
 
First launch Bitcoin Core so that the library can import the private keys.
| 
 Note 
 | 
By default, the library is set to the regtest network and uses hardcoded 16 bytes entropy. | 
npx bitcointestwalletsgenerator
or
git clone git@github.com:bitcoin-studio/bitcoin-test-wallets-generator.git node generate_wallets.js
Run with a new set of entropy
| 
 Note 
 | 
16 bytes entropy = 12 words mnemonic 32 bytes entropy = 24 words mnemonic  | 
npx bitcointestwalletsgenerator --entropy 16
Set the network
npx bitcointestwalletsgenerator --network mainnet
Set the network and entropy
npx bitcointestwalletsgenerator -n testnet -e 32
Verbose
npx bitcointestwalletsgenerator -v
Help
npx bitcointestwalletsgenerator --help
Check that private key import was successful with the listlabels command in Bitcoin Core console