@subrina-protocol/subrina-node
v0.0.1
Published
Subrina node CLI
Downloads
9
Maintainers
Readme
Subrina Node CLI
Nodes on subrina protocol can earn fees by monitoring and triggering payments.
Follow these steps to get started.
- Install Node CLI
- Run
subrina config
configure your node - Run
subrina register
command to register your node - Run
subrina monitor
command to monitor subscriptions and get paid in fees
Usage
$ npm install -g @subrina-protocol/subrina-node
$ subrina COMMAND
running command...
$ subrina (--version)
0.1.0
$ subrina --help [COMMAND]
USAGE
$ subrina COMMAND
...
Commands
subrina config
configure subrina node
USAGE
$ subrina config
DESCRIPTION
configure subrina node
EXAMPLES
$ subrina config
subrina register
register subrina node
USAGE
$ subrina register [-f]
FLAGS
-f, --force force re-register
DESCRIPTION
register subrina node
EXAMPLES
$ subrina register
$ subrina register --force
subrina monitor
monitor subscription plans and trigger payments
USAGE
$ subrina monitor [-l <value>] [-s <value>]
FLAGS
-l, --list=<value> a txt file with a list of subscription plan account public keys
-s, --single=<value> a subscription plan account public key
DESCRIPTION
monitor a list of subscription plans and trigger payments
EXAMPLES
$ subrina monitor --list ~/subscriptin-plans-to-monitor.txt
$ subrina monitor --single BJwb4SgNxDL9se5ZzZJ58ub9Adcj2XNfRs8GgVXKybyu
$ subrina monitor