It’s awesome that you’re interested in building on the Interledger Protocol (ILP). Here are some resources to get you started and if you have any questions feel free to ask questions over the Interledger gitter chat.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// payload as it currently exists | |
"payId": "<string>", | |
"identityKey": "<string>" // base64 encoded identity key | |
"addresses": [ | |
{ | |
"paymentNetwork": "<string>", | |
"environment": "<string>", | |
"details": { | |
"address": "<string>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ObjStore = require('ilp-plugin-payment-channel-framework/test/helpers/objStore') | |
const ServerPluginLightning = require('..') | |
const ClientPluginLightning = require('ilp-plugin-lightning') | |
const crypto = require('crypto') | |
const IlpPacket = require('ilp-packet') | |
const uuid = require('uuid/v4') | |
function base64url (buf) { | |
return buf.toString('base64') | |
.replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '') |