GithubHelp home page GithubHelp logo

interledger-ripple / ilp-plugin-xrp-asym-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from interledgerjs/ilp-plugin-xrp-asym-server

0.0 0.0 0.0 305 KB

Server for Asymmetric XRP Paychan

JavaScript 50.85% TypeScript 49.15%

ilp-plugin-xrp-asym-server's Introduction

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()
})

ilp-plugin-xrp-asym-server's People

Contributors

sentientwaffle avatar kincaidoneil avatar karzak avatar njlie avatar adrianhopebailie avatar traviscrist avatar 0xask avatar emschwartz avatar michielbdejong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.