Skip to content

Instantly share code, notes, and snippets.

@artiya4u
Last active May 14, 2019 08:03
Show Gist options
  • Save artiya4u/683b3f14db645b1f39c0f83c1638b331 to your computer and use it in GitHub Desktop.
Save artiya4u/683b3f14db645b1f39c0f83c1638b331 to your computer and use it in GitHub Desktop.
Script to generate Binance chain wallet for testnet.
#!/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
}
@artiya4u
Copy link
Author

Note 'password' is the actual password for all wallet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment