Asymmetric XRP paychan server for ILP
Last updated 2 years ago by d1no007 .
ISC · Original npm · Tarball · package.json
$ cnpm install @strata-labs/ilp-plugin-xrp-asym-server 
SYNC missed versions from official npm registry.

ILP Plugin XRP Asym Server

ILP Plugin XRP Asym Server allows you to accept payment channel connections from many users without adding them as peers. If you're running a connector, this is a great way to get sub-connectors and provide ILP connection to users without asking them to trust you with their money.

Details of how the connection is established are described in this plugin's client, ilp-plugin-xrp-asym-client

This plugin is based off of ilp-plugin-mini-accounts, with XRP payment channel functionality on top.

const serverPlugin = new IlpPluginXrpAsymServer({
  // Port on which to listen
  port: 6666,

  // XRP credentials of the server 
  address: 'rKzfaLjeVZXasCSU2heTUGw9VhQmFNSd8k',
  secret: 'snHNnoL6S67wNvydcZg9y9bFzPZwG',

  // Rippled server for the server to use
  xrpServer: 'wss://s.altnet.rippletest.net:51233',

  // Max amount to be unsecured at any one time
  maxBalance: 1000000,

  // Maximum packet amount to allow (returns F08 if exceeded)
  maxPacketAmount: 1000,

  // Persistent Key-value store. ILP-Connector will pass
  // this parameter in automatically.
  _store: new Store()

Current Tags

  • 1.7.2                                ...           latest (2 years ago)

1 Versions

  • 1.7.2                                ...           2 years ago
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (14)
Dev Dependencies (13)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |