Elfo Protocol enables subscription payment on Solana blockchain.
The protocol consists of three main componenets.
[github.com/elfo-protocol/elfo-core]
[This Repository]
[github.com/elfo-protocol/elfo-sdk]
A cli to register nodes to elfo-protocol. Registered nodes will be able to monitor subscriptions and trigger payments.
For every successful payment trigger, nodes will earn fees.
$ npm install -g @elfo/node
$ elfo COMMAND
running command...
$ elfo (--version)
@elfo/node/0.0.6 linux-x64 node-v16.14.0
$ elfo --help [COMMAND]
USAGE
$ elfo COMMAND
...
configure elfo node
USAGE
$ elfo config
DESCRIPTION
configure elfo node
EXAMPLES
$ elfo config
See code: dist/commands/config.ts
register elfo node
USAGE
$ elfo register [-f]
FLAGS
-f, --force force re-register
DESCRIPTION
register elfo node
EXAMPLES
$ elfo register
$ elfo register --force
See code: dist/commands/register.ts
monitor subscription plans and trigger payments
USAGE
$ elfo 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 subscription plans and trigger payments
EXAMPLES
$ elfo monitor --list ~/subscriptin-plans-to-monitor.txt
$ elfo monitor --single BJwb4SgNxDL9se5ZzZJ58ub9Adcj2XNfRs8GgVXKybyu
$ elfo monitor
See code: dist/commands/monitor.ts