This project is intended to be used with the latest Active LTS release of [Node.js][nodejs]. To start, just install and run with following commands:
npm install
node build/src/start.js
receiveAddr
- receive cash address. default:bchtest:qqahjy0x9zus2qypf0tfd7mykpvxqtc6rqfft0sgjy
You can set parameter with env var or command line arguments.
e.g. node build/src/start.js --receiveAddr=xxxx
Due to limit of Bitbox API, maximum TPS is 1. We can't generate more than 60 transactions per a minute.
This script is generating transactions from 3 wallets pre-stored in wallets/wallets.json
Every wallet has approx 0.1 tBCH. Its enough to run the scripts for a while since every operation send between 500~1000 satoshis randomly.
You can generate your own wallet by following command
node build/src/_generate-wallet.ts
But becareful, it will overwrite existing wallets file, eventually will lose all tBCHs.
Every generated transaction ids will be stored in /reports
directory