Created
May 30, 2018 09:22
-
-
Save sirpy/1960f9087bcec0eaf69016bf4e77255e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 -f | |
set wallet "wallet1.json" | |
set password "****" | |
set timeout -1 | |
cd neo-cli | |
spawn dotnet neo-cli.dll --rpc | |
expect "neo>" | |
send "open wallet $wallet\n" | |
expect "password:" | |
send "$password\n" | |
expect "neo>" | |
send "start consensus\n" | |
expect "OnStart" | |
interact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment