Skip to content

the-phoenix/bch-batch-transaction-generator

Repository files navigation

TypeScript Node.js

BCH Transaction generator

Quick start

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

Available arguments

  • 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

Description

TPS

Due to limit of Bitbox API, maximum TPS is 1. We can't generate more than 60 transactions per a minute.

Wallets

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.

Reports

Every generated transaction ids will be stored in /reports directory

About

Bitcoin cash batch transactions generator with big sizes for stress testing on BCH network!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •