interledger-deprecated / tutorials

Interledger tutorials
17 stars 9 forks source link

improve flow of argument for http-ilp #19

Closed michielbdejong closed 6 years ago

michielbdejong commented 6 years ago

The bonus part of the Letter Shop tutorial introduces a competing Pay header, we should make it use PSK. We should also move it into the http-ilp tutorial and make that the second one. And instead of a proxy, it should be a command-line script. Its advantage is that it avoids cut-and-paste between script and browser. Then switching to koa-ilp and switching to ilp-curl can be done in two steps, each explained for their merit.

After that, the streaming payments tutorial no longer needs to explain PSK, just that this is an alternative flow, with mid-request payment.

adrianhopebailie commented 6 years ago

This presumes that PSK is the only way to do HTTP ILP.

I am still in favour of a header format that allows the transport layer protocol to be specified so that appropriate protocols can be used for different use cases.

See https://github.com/interledger/rfcs/issues/325

I think we need to resolve that isse first and then come back to the tutorials to ensure they reflect the current consensus

michielbdejong commented 6 years ago

Right. There are many ways to word a payment request, and the fact that there is no standard yet for how to write down a machine-readable payment request, is probably not a coincidence. Let's see what features we want to support:

michielbdejong commented 6 years ago

l'll use the format proposed in https://datatracker.ietf.org/doc/draft-hope-bailie-http-payments/?include_text=1 with payment-method-identifier 'interledger-psk' for PSK, and 'interledger-condition' for condition.

adrianhopebailie commented 6 years ago

Let's discuss this on interledger/rfcs#325

Updating the tutorial is orthogonal to figuring out the standard

adrianhopebailie commented 6 years ago

Closed in favour of #27