mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
scripts for faster test wallets generation
This commit is contained in:
parent
2060bfe5ad
commit
44cc0ef147
11 changed files with 121 additions and 20 deletions
21
tests/libwallet_api_tests/scripts/send_funds.sh
Executable file
21
tests/libwallet_api_tests/scripts/send_funds.sh
Executable 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
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue