Front-to-Back Example 2


#1

NOTE: Please find the .sh documents on Github if you are reading this on the developer portal here.

DESCRIPTION

The second example of running and using a JSON-RPC service: (https://github.com/singnet/example-service)

  • install_and_start.sh - (exactly the same as in the first example) install and setup everything and start local network and IPFS
  • run_service.sh - register and start simple service (one payment group one endpoint)
  • run_client.sh - make a call to the service
  • run_treasurer.sh - (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.


This is a companion discussion topic for the original entry at https://dev.singularitynet.io/docs/all/mpe/front-to-back-examples/scripts/example2/