| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | function send_fundsscip-shell shell shell-project 0.0.0 send_funds(). { |
| 4 | local amount=$1 |
| 5 | local dest=$(catscip-shell system . . 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_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). { |
| 14 | local amount=$1 |
| 15 | send_fundsscip-shell shell shell-project 0.0.0 send_funds(). $amount wallet_01.bin |
| 16 | send_fundsscip-shell shell shell-project 0.0.0 send_funds(). $amount wallet_02.bin |
| 17 | send_fundsscip-shell shell shell-project 0.0.0 send_funds(). $amount wallet_03.bin |
| 18 | send_fundsscip-shell shell shell-project 0.0.0 send_funds(). $amount wallet_04.bin |
| 19 | send_fundsscip-shell shell shell-project 0.0.0 send_funds(). $amount wallet_05.bin |
| 20 | send_fundsscip-shell shell shell-project 0.0.0 send_funds(). $amount wallet_06.bin |
| 21 | } |
| 22 | |
| 23 | seed_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). 1 |
| 24 | seed_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). 2 |
| 25 | seed_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). 5 |
| 26 | seed_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). 10 |
| 27 | seed_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). 20 |
| 28 | seed_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). 50 |
| 29 | seed_walletsscip-shell shell shell-project 0.0.0 seed_wallets(). 100 |
| 30 | |
| 31 | |
| 32 |