mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
34 lines
676 B
Bash
Executable file
34 lines
676 B
Bash
Executable file
#!/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
|
|
}
|
|
|
|
|
|
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
|
|
|
|
|
|
|