Skip to content

michielbdejong/ilp-frog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ilp-frog

Tiny wrapper around Interledger's Ledger Plugin Interface, that exposes Interledger's RPC API

frog

This will output Alice's balance in nano-USD, e.g. "206157309414":

npm install ilp-plugin-bells
DEBUG=* PORT=3010 BELLS_ACCOUNT=https://red.ilpdemo.org/ledger/accounts/alice BELLS_PASSWORD=alice PORT=3010 node fiveBellsFrog.js
sleep 10 # wait for plugin to connect to the ledger
curl -H "Authorization: Basic aHR0cHM6Ly9yZWQuaWxwZGVtby5vcmcvbGVkZ2VyL2FjY291bnRzL2FsaWNlOmFsaWNl" http://localhost:3010/rpc?method=get_balance

About

The dual of ilp-plugin-virtual, so a wrapper around ILP's Ledger Plugin Interface, that exposes the ILP RPC API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published