scripts for faster test wallets generation

This commit is contained in:
Ilya Kitaev 2016-06-01 17:06:10 +03:00
parent 2060bfe5ad
commit 44cc0ef147
11 changed files with 121 additions and 20 deletions

View file

@ -0,0 +1,21 @@
#!/bin/bash
function send_funds {
local amount=$1
local dest=$(cat "$2.address.txt")
simplewallet --wallet-file wallet_m --password "" \
--testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_m.log \
--command transfer $dest $amount
}
send_funds 100 wallet_01.bin
send_funds 100 wallet_02.bin
send_funds 100 wallet_03.bin
send_funds 100 wallet_04.bin
send_funds 100 wallet_05.bin