interledger-deprecated / ilp-core

Core ILP module — handles ledger abstraction and quoting
Other
8 stars 5 forks source link

running the example requires `babel-node` and `waitForConnection` #18

Closed diminator closed 8 years ago

diminator commented 8 years ago

Maybe I am doing something wrong, but when following the example on the README I had to tweak a few things:

client.waitForConnection().then(() => {
  client.quote({
...

Also, once this finally ran, I got that the transfer was rejected:

1:29:01 PM.938 [ilp-plugin-bells:plugin] <INFO> ws connected to wss://red.ilpdemo.org/ledger/accounts/diminator/transfers
1:28:00 PM.902 [ilp-plugin-bells:plugin] <DEBUG> submitting transfer https://red.ilpdemo.org/ledger/transfers/f473e84d-84d6-4685-8062-317c9b13d914                                                                   [6/9768]
1:28:01 PM.718 [ilp-plugin-bells:plugin] <DEBUG> notify transfer prepared https://red.ilpdemo.org/ledger/transfers/f473e84d-84d6-4685-8062-317c9b13d914
payment sent
1:28:02 PM.51 [ilp-plugin-bells:plugin] <DEBUG> notify transfer rejected https://red.ilpdemo.org/ledger/transfers/f473e84d-84d6-4685-8062-317c9b13d914