Interledger V2 Ledger Plugin for Ether and ERC20 Tokens
WARNING: This code has not been reviewed or tested, DO NOT USE IT WITH REAL MONEY.
This plugin enables Interledger payments to be sent over Ethereum payment channels. It is a minimal wrapper around Machinomy's payment channel implementation for Ether and ERC20 tokens and uses HTTP(S) for communication between peers.
- Local Ethereum provider (Parity, geth, or Ganache CLI for local development)
- Machinomy smart contracts deployed to the Ethereum network (they are already deployed to the Ropsten testnet but you can follow the guide here to deploy them to a local network)
npm install --save https://github.com/emschwartz/ilp-plugin-ethereum-paychan.git
(Sorry, it's not on NPM yet)
See example.js