Last active
May 14, 2019 08:03
-
-
Save artiya4u/683b3f14db645b1f39c0f83c1638b331 to your computer and use it in GitHub Desktop.
Script to generate Binance chain wallet for testnet.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/expect | |
set timeout 20 | |
for {set x 1} {$x<=20} {incr x} { | |
spawn tbnbcli keys add [format "wallet_%02d" $x] | |
expect "Enter a passphrase for your key:" | |
send "password\r"; | |
expect "Repeat the passphrase:" | |
send "password\r"; | |
interact | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note 'password' is the actual password for all wallet.