aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests/scripts/send_funds.sh
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-01 17:06:10 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-23 16:01:41 +0300
commit44cc0ef147bd369dbc6b4399361d3ba7d03707ad (patch)
treeb574f3cf6398e2e5b6d2ec73e0d481b730b8472f /tests/libwallet_api_tests/scripts/send_funds.sh
parentregenerated test wallets, basic functions got broken (diff)
downloadmonero-44cc0ef147bd369dbc6b4399361d3ba7d03707ad.tar.xz
scripts for faster test wallets generation
Diffstat (limited to 'tests/libwallet_api_tests/scripts/send_funds.sh')
-rwxr-xr-xtests/libwallet_api_tests/scripts/send_funds.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/libwallet_api_tests/scripts/send_funds.sh b/tests/libwallet_api_tests/scripts/send_funds.sh
new file mode 100755
index 000000000..801d63609
--- /dev/null
+++ b/tests/libwallet_api_tests/scripts/send_funds.sh
@@ -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
+
+