https://github.com/interledger/open-payments-workshop
Open Payments flow showcased for a simple workshop
https://github.com/interledger/open-payments-workshop
Last synced: about 1 month ago
JSON representation
Open Payments flow showcased for a simple workshop
- Host: GitHub
- URL: https://github.com/interledger/open-payments-workshop
- Owner: interledger
- Created: 2025-09-23T00:03:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-10-25T07:55:25.000Z (10 months ago)
- Last Synced: 2025-10-25T09:24:39.215Z (10 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# open-payments-workshop
Open Payments flow showcased for a simple workshop
This script sends money between two wallet addresses, using the [Open Payments API](https://openpayments.dev).
This script sets up an incoming payment on a receiving wallet address, and creates two outgoing payments on the sending wallet address.
It also creates an interactive outgoing payment grant, which will require user interaction.
The script then finalizes the grant (after it's accepted interactively via the browser), and creates two outgoing payments.
### Steps
1. Make sure you have NodeJS installed
2. Run `npm install`
3. Get a private key, client wallet address and keyId from the [test wallet](https://wallet.interledger-test.dev/), and add them in the script.
### For workshop coding
4. Pick a receiving wallet address, and a sending wallet address.
5. Run `node index.js`
6. Click on the outputted URL, to accept the outgoing payment grant.
7. Return to the terminal, hit enter. After this, the script will create the outgoing payment and funds will move between the receiver and the sender!