# ilp-plugin-xrp-asym-server

> Asymmetric XRP paychan server for ILP

Latest version **1.8.1** (published 2019-04-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install ilp-plugin-xrp-asym-server
pnpm add ilp-plugin-xrp-asym-server
yarn add ilp-plugin-xrp-asym-server
bun add ilp-plugin-xrp-asym-server
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.8.1 |
| Published | 2019-04-16 |
| First published | 2018-01-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 209.5 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | interledger, sharafian |

## Links

- npm: https://www.npmjs.com/package/ilp-plugin-xrp-asym-server
- npm.io page: https://npm.io/package/ilp-plugin-xrp-asym-server

## Dependencies (14)

- [ws](https://npm.io/package/ws.md) ^4.0.0
- [debug](https://npm.io/package/debug.md) ^3.1.0
- [base64url](https://npm.io/package/base64url.md) ^3.0.0
- [btp-packet](https://npm.io/package/btp-packet.md) ^2.2.0
- [ilp-logger](https://npm.io/package/ilp-logger.md) ^1.0.2
- [ilp-packet](https://npm.io/package/ilp-packet.md) ^3.0.8
- [ripple-lib](https://npm.io/package/ripple-lib.md) ^0.21.0
- [@types/debug](https://npm.io/package/@types/debug.md) 0.0.30
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^7.2.1
- [sodium-universal](https://npm.io/package/sodium-universal.md) ^2.0.0
- [ilp-protocol-ildcp](https://npm.io/package/ilp-protocol-ildcp.md) ^2.0.1
- [ripple-address-codec](https://npm.io/package/ripple-address-codec.md) ^2.0.1
- [ilp-plugin-mini-accounts](https://npm.io/package/ilp-plugin-mini-accounts.md) ^4.0.1
- [ilp-plugin-xrp-paychan-shared](https://npm.io/package/ilp-plugin-xrp-paychan-shared.md) ^4.1.0

## Recent versions

- 1.8.1 (latest) — 2019-04-16
- 1.8.0 — 2018-12-07
- 1.7.3 — 2018-10-19
- 1.7.2 — 2018-09-08
- 1.7.1 — 2018-08-13
- 1.7.0 — 2018-08-13
- 1.6.2 — 2018-08-08
- 1.6.1 — 2018-08-08
- 1.6.0 — 2018-08-08
- 1.5.1 — 2018-08-06
- 1.5.0 — 2018-07-12
- 1.4.8 — 2018-07-11
- 1.4.7 — 2018-07-10
- 1.4.6 — 2018-07-03
- 1.4.4 — 2018-07-02
- … 24 more at https://npm.io/package/ilp-plugin-xrp-asym-server/versions

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

---
_Source: https://npm.io/package/ilp-plugin-xrp-asym-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
