https://github.com/mineme0812/bch-batch-transaction-generator
Bitcoin cash batch transactions generator with big sizes for stress testing on BCH network!
https://github.com/mineme0812/bch-batch-transaction-generator
bch bch-pool bitcoin-cash cryptocurrency generating-transactions nodejs stress-testing tps typescript wallets
Last synced: 3 months ago
JSON representation
Bitcoin cash batch transactions generator with big sizes for stress testing on BCH network!
- Host: GitHub
- URL: https://github.com/mineme0812/bch-batch-transaction-generator
- Owner: MineMe0812
- License: apache-2.0
- Created: 2023-04-25T15:30:04.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-25T16:12:36.000Z (about 2 years ago)
- Last Synced: 2025-01-22T13:51:44.636Z (5 months ago)
- Topics: bch, bch-pool, bitcoin-cash, cryptocurrency, generating-transactions, nodejs, stress-testing, tps, typescript, wallets
- Language: TypeScript
- Homepage:
- Size: 278 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 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:
```sh
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](https://developer.bitcoin.com/bitbox/), 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`](./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
```sh
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