JSPM

  • Created
  • Published
  • Downloads 46
  • Score
    100M100P100Q66699F
  • License ISC

ILP virtual ledger plugin for directly transacting connectors

Package Exports

  • ilp-plugin-virtual

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ilp-plugin-virtual) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ilp-plugin-virtual

ILP virtual ledger plugin for directly transacting connectors

Installation

npm install --save ilp-plugin-virtual

Usage

You can test out the ledger plugin by running npm test on your machine. To include debug information during the test, run npm run-script verbose-test

When instantiating the plugin, your opts.auth needs the correct fields.

opts.auth (Nerd)

{
  "account": "can be anything; only used for logging",
  "token": "channel name in MQTT server",
  "limit": "amount of negative balance that can exist",
  "balance": "starting balance of the trustline",
  "host": "host of MQTT server",
  "secret": "not used yet"
}

opts.auth (Noob)

{
  "account": "can be anything; only used for logging",
  "token": "channel name in MQTT server",
  "host": "host of MQTT server"
}