| 1 | #!/bin/bash |
| 2 | |
| 3 | function send_funds { |
| 4 | local amount=$1 |
| 5 | local dest=$(cat "$2.address.txt") |
| 6 | |
| 7 | monero-wallet-cli --wallet-file wallet_m --password "" \ |
| 8 | --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_m.log \ |
| 9 | --command transfer $dest $amount |
| 10 | } |
| 11 | |
| 12 | |
| 13 | function seed_wallets { |
| 14 | local amount=$1 |
| 15 | send_funds $amount wallet_01.bin |
| 16 | send_funds $amount wallet_02.bin |
| 17 | send_funds $amount wallet_03.bin |
| 18 | send_funds $amount wallet_04.bin |
| 19 | send_funds $amount wallet_05.bin |
| 20 | send_funds $amount wallet_06.bin |
| 21 | } |
| 22 | |
| 23 | seed_wallets 1 |
| 24 | seed_wallets 2 |
| 25 | seed_wallets 5 |
| 26 | seed_wallets 10 |
| 27 | seed_wallets 20 |
| 28 | seed_wallets 50 |
| 29 | seed_wallets 100 |
| 30 | |
| 31 | |
| 32 |