Skip to content

atrykush/tx-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transaction generator

This utility used to emulate hi-load stream of transactions to Exonum Blockchain network with cryptocurrency-advanced service inside.

Usage example:

Install:

cargo install --git https://github.com/aleksuss/tx-generator.git

Create wallets

tx-generator --api node_hostname1:port1 --api node_hostnameN:portN --count 10000 --seed 1 --timeout 10 create-wallets

Transfer funds

tx-generator --api node_hostname1:port1 --api node_hostnameN:portN --count 20000 --seed 1000 transfer --wallets-count 10000 --wallets-seed 1

--wallets-count should be equal to --count and --wallets-seed to --seed respectively from create-wallets subcommand.

--timeout is optional parameter. It sets a timeout between sending transactions in microseconds.

You should pass node's hostnames which should receive transactions.

About

Transaction generator for Exonum Blockchain network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 81.0%
  • Python 19.0%