Skip to content

Instantly share code, notes, and snippets.

@lukestokes
Last active March 10, 2019 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lukestokes/585b03d8531b2e96738f34c2d2212eb2 to your computer and use it in GitHub Desktop.
Save lukestokes/585b03d8531b2e96738f34c2d2212eb2 to your computer and use it in GitHub Desktop.
Call smartcash-cli for a specific node
#!/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