Last active
March 10, 2019 10:51
-
-
Save lukestokes/585b03d8531b2e96738f34c2d2212eb2 to your computer and use it in GitHub Desktop.
Call smartcash-cli for a specific node
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
#!/bin/bash | |
# Example: ./smart-cli.sh 01 getinfo | |
# The first parameter is the node number | |
# The second parameter is the method on smartcash-cli you want to call. | |
smartcash-cli -datadir=/root/smartcash/SmartNode$1 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment