ilp-plugin-ethereum-asym-server
> Server to Ethereum Asym Client
Last updated 3 years ago by emschwartz .
ISC · Original npm · Tarball · package.json
$ cnpm install ilp-plugin-ethereum-asym-server 
SYNC missed versions from official npm registry.

ILP Plugin Ethereum Asym Server

Server to Ethereum Asym Client

Description

This plugin is still under development. Don't use it for large amounts of money.

This is an implementation of an ILP integration with Ethereum. It uses simple unidirectional payment channels on Ethereum, by making use of the Machinomy library.

One party must run this Asym Server, and then any number of clients can connect by using Ethereum Asym Client. Each client opens a payment channel to this server, and will immediately send a claim. This claim is to cover the transaction fee of the server opening a channel to the client. The end result is that the server and client have two payment channels, allowing either one to send and receive.

Interleger packets are passed over the websocket connection that the client and server share, and then are periodically settled by passing claims over the websocket connection. The ILP Connector will manage this logic for you.

Usage

export RINKEBY_PROVIDER_URL=https://rinkeby.infura.io/2LQpDUsVeDqOZ8hvLzti
export SECRET=eepauZo4UTh2Iejuo9Aichahph0ooy5boojohtoh
npm install
DEBUG=* node scripts/server-infura.js

For testing purposes

export PROVIDER_URL=https://ropsten.infura.io/T1S8a0bkyrGD7jxJBgeH
export SECRET="lazy glass net matter square melt fun diary network bean play deer"
npm install
DEBUG=* node test-infura-sell.js

Current Tags

  • 1.2.2                                ...           latest (2 years ago)

4 Versions

  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (6)
Dev Dependencies (1)
  • truffle-hdwallet-provider git+https://github.com/machinomy/truffle-hdwallet-provider.git#8fe3dc5640cda0aedd6e58d62da9adc38d359a8a
Dependents (1)

Copyright 2014 - 2017 © taobao.org |