aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests/scripts/send_funds.sh
blob: 801d636096c771d29e935a3b67c8ffcd65170cb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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