- Focus on small payments and have connector limit bandwidth per user
- Focus on payment channels for cryptocurrencies instead of escrow or trustlines
- We need a production-ready open source connector ASAP
- Add fulfillment data
This is a brief summary of some ongoing discussions about fundamental Interledger topics: the packet format, the addressing scheme, and the protocol layer built directly upon ILP. Ideas are welcome!
Full discussion: Proposal: we need an Interledger Packet -- not just an ILP Header
import { Client } from 'spp-client' | |
const client = new Client({ | |
username: 'alice@red.ilpdemo.org', | |
password: 'secret' | |
}) | |
function pay () { | |
const payment = client.payment({ | |
destination: 'bob@blue.ilpdemo.org', |
'use strict' | |
const threshold = process.env.THRESHOLD ? parseInt(process.env.THRESHOLD) : 150 | |
const numSubconditions = process.env.NUM_SUBCONDITIONS ? parseInt(process.env.NUM_SUBCONDITIONS) : 10 | |
const minWeight = process.env.MIN_WEIGHT ? parseInt(process.env.MIN_WEIGHT) : 1 | |
const maxWeight = process.env.MAX_WEIGHT ? parseInt(process.env.MAX_WEIGHT) : 256 | |
const minLength = process.env.MIN_LENGTH ? parseInt(process.env.MIN_LENGTH) : 1 | |
const maxLength = process.env.MAX_LENGTH ? parseInt(process.env.MAX_LENGTH) : 1024 | |
function getRandomIntInclusive(min, max) { |
### Keybase proof | |
I hereby claim: | |
* I am emschwartz on github. | |
* I am emschwartz (https://keybase.io/emschwartz) on keybase. | |
* I have a public key whose fingerprint is A7AA 7052 F073 9404 2830 BAEF A3D7 E122 1268 5983 | |
To claim this, I am signing this object: |
{ | |
"success": true, | |
"payments": [ | |
{ | |
"source_account": "rBEXjfD3MuXKATePRwrk4AqgqzuD9JjQqv", | |
"source_tag": "", | |
"source_amount": { | |
"value": "1", | |
"currency": "XRP", | |
"issuer": "" |
var test_transaction = new ripple.Transaction(), | |
client_resource_id = 'ebb9d857-fc71-440f-8b0a-f1ea3535986a'; | |
test_transaction.payment({ | |
from: 'rLpq5RcRzA8FU1yUqEPW4xfsdwon7casuM', | |
to: 'rLpq5RcRzA8FU1yUqEPW4xfsdwon7casuM', | |
amount: '10XRP' | |
}); | |
var states = ['submitted', 'pending', 'validated']; |
/** | |
* Check if remote is connected and attempt to reconnect if not | |
*/ | |
function ensureConnected(remote, callback) { | |
if (isConnected(remote)) { | |
callback(null, true); | |
return; | |
} else { |
I hereby claim:
To claim this, I am signing this object: