open-index/open-npm huggingface dataset:
npm package: @subrina-protocol/sdk
Description: Javascript library to interact with subrina protocol.
Author: Irshad Nilam
Latest version: 0.0.7
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Subrina Protocol JavaScript SDK

This is the Javascript SDK to interract with [subrina protocol programs](https://github.com/subrina-protocol/subrina)

## Installation

### yarn

```
yarn add @subrina-protocol/sdk
```

### npm

```
npm -i @subrina-protocol/sdk
```

## Usage
View api documentation [here](docs/modules.md)
npm package: @subrina-protocol/subrina-node
Description: Subrina node CLI
Author: Irshad Nilam
Latest version: 0.0.1

# 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

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @subrina-protocol/subrina-node
$ subrina COMMAND
running command...
$ subrina (--version)
0.1.0
$ subrina --help [COMMAND]
USAGE
  $ subrina COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`subrina config`](#subrina-config)
* [`subrina register`](#subrina-register)
* [`subrina monitor`](#subrina-monitor)

## `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
```

<!-- commandsstop -->