Skip to content

Commit

Permalink
test: add a utility script for running many coinsplits (#4406)
Browse files Browse the repository at this point in the history
Powershell (vommit) script to automate many coin splits

This can be used to generate traffic on the base layer for testing
  • Loading branch information
stringhandler committed Aug 5, 2022
1 parent 8d9a448 commit 0038b95
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/generate-coinsplits.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

$i=1
Do {
$i

$splits = get-random -max 10 -min 1
$tariAmount = get-random -max 50000 -min 10000
& cargo run --release --bin tari_console_wallet -- -b . --network esmeralda --password mike --command-mode-auto-exit coin-split $tariAmount $splits


$i++
}
While ($i -le 1000)


0 comments on commit 0038b95

Please sign in to comment.