- From: Adrian Hope-Bailie <adrian@hopebailie.com>
- Date: Thu, 28 Jan 2016 12:55:23 +0200
- To: Melvin Carvalho <melvincarvalho@gmail.com>
- Cc: Interledger Community Group <public-interledger@w3.org>
- Message-ID: <CA+eFz_J46XcHt7AA8X4kP0TaOeLVe1BQ0ihxg=HK=wC9NGq7tw@mail.gmail.com>
You can also click on any two ledgers in the visualisation and that will initiate a transaction from one to the other On 28 January 2016 at 11:33, Melvin Carvalho <melvincarvalho@gmail.com> wrote: > > > On 28 January 2016 at 10:22, Melvin Carvalho <melvincarvalho@gmail.com> > wrote: > >> Looking at the five bells demo >> >> https://github.com/interledger/five-bells-demo >> >> I am able to get the 8 ledgers up and visualized. I can also see them >> using sqlite, and access each account individually. >> >> The README says >> >> "It allows you to very quickly spin up a complete Interledger network *and >> do test transactions*." >> >> It doesnt say how to do transactions. Is there any guide? >> >> >> > This seemed to work: > > ./send.js http://localhost:3002 http://localhost:3002 > crawler found 8 ledgers and 7 traders > findPath http://localhost:3002 -> http://localhost:3002 > findPath found 3 paths > got quotes for 3 paths > got cheapest path: [{"source_transfers":[{"ledger":"http://localhost:3002 > ","credits":[{"amount":"1.01","account":" > http://localhost:3002/accounts/mike > "}],"expiry_duration":"6"}],"destination_transfers":[{"ledger":" > http://localhost:3005","debits":[{"amount":"0.57","account":" > http://localhost:3005/accounts/mike"}],"expiry_duration":"5"}],"id":" > http://localhost:4006/payments/cdc27025-8e76-41a0-a1fe-20ce1324aca8 > "},{"source_transfers":[{"ledger":"http://localhost:3005 > ","credits":[{"amount":"0.57","account":" > http://localhost:3005/accounts/mike > "}],"expiry_duration":"5"}],"destination_transfers":[{"ledger":" > http://localhost:3002","debits":[{"amount":"1.00","account":" > http://localhost:3002/accounts/mike"}],"expiry_duration":"4"}],"id":" > http://localhost:4006/payments/f471caee-6339-462c-99b1-45f1ff9c9ece"}] > > 3002 hold -2.220446049250313e-16 > 3002 admin 0 > 3002 mark 1500000 > 3002 millie 1500000 > 3002 mary 1500000 > 3002 mike 1500000.01 > 3002 alice 1499998.99 > 3002 vinnie 0 > 3002 bob 1500001 > > >
Received on Thursday, 28 January 2016 10:55:52 UTC