Skip to content
node.js app for stress testing the BCH network
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
package-lock.json
package.json
readme.md
stresstest-shared.js
stresstest.js

readme.md

Deprecation warning

This repo has been deprecated in favor of the web version available at https://github.com/SpendBCH/bch-stresstest-web and https://www.scale.cash

Find more information or donation addresses for the stresstest on Sept 1, 2018 at https://stresstestbitcoin.cash/

bch-stresstest

node.js app for stress testing the BCH network

Disclaimer

Use at your own risk. This is currently not polished and has limited safety features.

Normal Usage

  • Clone this repo
git clone https://github.com/SpendBCH/bch-stresstest.git
cd bch-stresstest
  • Install bitbox-cli
npm install
  • Start the app
node stresstest.js
  • Write down your mnemonic and WIF
  • Send BCH to the receiving address displayed

Usage with full local node

  • Clone this repo
git clone https://github.com/SpendBCH/bch-stresstest.git
cd bch-stresstest
  • Configure your node's RPC connection in stresstest.js
  • Set useRest to false in stresstest.js
  • (Optional) Increase or decrease the amount of tx to send concurrently with numParallelTx in stresstest.js
  • Set bitbox-cli version in package.json to 0.7.21
  • Install bitbox-cli
npm install
  • Start the app
node stresstest.js
  • Write down your mnemonic and WIF
  • Send BCH to the receiving address displayed

Made with #BITBOX

Known issues

  1. The mining fee for split tx calculation is off and can fail when testing 10k+ tx. Save your mnemonic to recover these funds.
  2. Sending more than 0.1 BCH may hit the max tx size limit. Your funds should be safe if you kept the WIF and mnemonic to recover.
You can’t perform that action at this time.