NOTE: You can find the script files for this example on Github here


The second example of running and using a JSON-RPC service: (

  • - (exactly the same as in the first example) install and setup everything and start local network and IPFS
  • - register and start simple service (one payment group one endpoint)
  • - make a call to the service
  • - (exactly the same as in the first example) run treasurer server in order to see list of claimed channels, and claim your channels

Test should be run on clean environment in the given order.

Last modified on : 24-Jan-24

Sign up for developer updates