ilp-node
v3.4.1
Published
Connector used for https://github.com/interledger/interledger/wiki/Interledger-over-CLP
Downloads
7
Readme
ilp-node
Testnet connector, see https://github.com/interledger/interledger/wiki/Interledger-over-CLP
In one screen:
$ npm install
$ node src/server-from-config-file
Listening on ws://localhost:8000/
In another:
$ node scripts/genSecrets.js
$ cat config/server.js # contains example confs for CLP-server, XRP, and ETH
$ vim config/client1.js # add your own XRP and ETH confs
$ node scripts/flood.js 10000 clp clp
[ '/Users/michiel/.nvm/versions/node/v7.7.1/bin/node',
'/Users/michiel/gh/michielbdejong/ilp-node/scripts/flood.js',
'10000',
'clp',
'clp' ]
10000 transfers took 3058ms, that is 3270.1111837802487 payments per second.
Connect to Amundsen
$ node scripts/genSecrets.js wss://amundsen.michielbdejong.com/ilp-node-3/api/v1
$ node scripts/flood.js 10000 clp clp
[ '/Users/michiel/.nvm/versions/node/v7.7.1/bin/node',
'/Users/michiel/gh/michielbdejong/ilp-node/scripts/flood.js',
'10000',
'clp',
'clp' ]
10000 transfers took 9044ms, that is 1105.7054400707652 payments per second.
Send over XRP
TODO: update docs for this.
Send over ETH Rinkeby
In order to connect to ethereum, you need to be running a geth node; see https://github.com/interledger/interledger/wiki/Interledger-over-ETH for full instructions.