Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/interledgerjs/ilp-plugin-xrp-asym-server
Server for Asymmetric XRP Paychan
https://github.com/interledgerjs/ilp-plugin-xrp-asym-server
Last synced: 2 months ago
JSON representation
Server for Asymmetric XRP Paychan
- Host: GitHub
- URL: https://github.com/interledgerjs/ilp-plugin-xrp-asym-server
- Owner: interledgerjs
- Created: 2018-01-08T21:58:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T23:22:11.000Z (over 5 years ago)
- Last Synced: 2024-07-22T20:05:55.360Z (2 months ago)
- Language: JavaScript
- Size: 298 KB
- Stars: 9
- Watchers: 10
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`](https://github.com/interledgerjs/ilp-plugin-xrp-asym-client)This plugin is based off of
[`ilp-plugin-mini-accounts`](https://github.com/interledgerjs/ilp-plugin-mini-accounts),
with XRP payment channel functionality on top.```js
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()
})
```