Skip to content

Instantly share code, notes, and snippets.

View 0xASK's full-sized avatar
🌴

Austin King 0xASK

🌴
View GitHub Profile
@0xASK
0xASK / test.js
Created May 17, 2018 14:53
Testing lnd asym plugins
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(/=+$/, '')

Interledger Testnet

Welcome!

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.

What is the Interledger Protocol (ILP)?

{
// payload as it currently exists
"payId": "<string>",
"identityKey": "<string>" // base64 encoded identity key
"addresses": [
{
"paymentNetwork": "<string>",
"environment": "<string>",
"details": {
"address": "<string>"