The code benchmarking DERA chain, such as TPS, finality.
- Install dependencies
$ pip install -r requirement.txt
- Please refer to Smart Contracts for more details.
- Generate wallets
$ python main.py -a generate_wallets
- Fund wallets
$ python main.py -a bootstrap -t <native | erc20> -b <initial_balance>
- Execute benchmarks
$ python main.py -a transfer -n <number_wallets> -tx <number_txs>
- It is necessary to increase the file descriptors number before running the benchmarks scripts
$ ulimit -n 8192