Here you can find various demos of Interledger.rs' functionality:
- Simple Two-Node Payment
- Two-Node Payment with Ethereum On-Ledger Settlement
- Two-Node Payment with XRP On-Ledger Settlement
- Three-Node Payment with Ethereum and XRP On-Ledger Settlement
- Integrating Interledger Into Your App (Coming Soon!)
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