aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests/scripts/send_funds.sh
blob: b7f282b71546f2002df5d696d371c2b1260986a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash



function send_funds {
    local amount=$1
    local dest=$(cat "$2.address.txt")

    monero-wallet-cli --wallet-file wallet_m --password "" \
        --testnet --trusted-daemon --daemon-address localhost:38081  --log-file wallet_m.log \
        --command transfer $dest $amount 
}


function seed_wallets {
    local amount=$1
    send_funds $amount wallet_01.bin
    send_funds $amount wallet_02.bin
    send_funds $amount wallet_03.bin
    send_funds $amount wallet_04.bin
    send_funds $amount wallet_05.bin
    send_funds $amount wallet_06.bin
}

seed_wallets 1
seed_wallets 2
seed_wallets 5
seed_wallets 10
seed_wallets 20
seed_wallets 50
seed_wallets 100