Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.4 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.4 KB

Interledger.rs Examples

Here you can find various demos of Interledger.rs' functionality:

  1. Simple Two-Node Payment
  2. Two-Node Payment with Ethereum On-Ledger Settlement
  3. Two-Node Payment with XRP On-Ledger Settlement
  4. Three-Node Payment with Ethereum and XRP On-Ledger Settlement
  5. Integrating Interledger Into Your App (Coming Soon!)

Have questions? Feel free to open an issue or ask a question on the forum!

Running the Examples

The README of each example provides step-by-step instructions on how to run the example.

If you want to run all of the steps automatically, you can use the provided run-md.sh script to parse and execute the shell commands from the Markdown file:

# Under the example directory, for example, "simple"
$ ../../scripts/run-md.sh README.md

# It also accepts STDIN:
$ (some command) | ../../scripts/run-md.sh

You could also run the examples using Docker. Try specifying USE_DOCKER=1 as follows.

USE_DOCKER=1 ../../scripts/run-md.sh README.md

If you need to perform docker commands with the root privileges, you can USE_SUDO=1 as well.

USE_DOCKER=1 USE_SUDO=1 ../../scripts/run-md.sh README.md