The Interledger Foundation Community

Devon
Devon

Posted on

Integrate support for the Web Monetization standard into Open Index Protocol and it’s Reference Client... — Final Grant Report

ILP payment pointer support in Open Index Protocol

Project Update

In order to work on this integration, we first needed to add some low level functionality to our reference client, most notably a registration/login system and multi coin wallet. Once that was complete we implemented an updated schema for OIP's "Payments" record template primitive that included a handful of fields to let users set minimum streaming payment rates, as well as a field for their ILP Payment Pointer address. We made some progress integrating Coil.com accounts into our user login system, and integrated the payment pointer address field into the application such that if a record is loaded which has a payment pointer field included, it will be loaded into the header so that the Coil browser extension automatically starts sending payment. We implemented a system of cryptographically locking and unlocking content availability by a number of micropayment methods, including using a Web Monetization payment stream. We presented a demo of all this functionality using sample content from the middle east's largest independent news platform, Al Bawaba, at this summer's Consensus conference.
Unfortunately, we fell short of completing the total list of goals with this project, but the milestones we met are significant, and we're confident the rest will be met as our development process proceeds.

Progress on objectives

What we did:
-Added user accounts with wallets to reference client application.
-Created an updated version of OIP's "Payments" record template to add a string field for the ILP Payment Pointer address and a pair of integer fields so that a content creator could set a minimum rate for streaming payments, if they chose.
-Integrated the payment pointer address field into our reference client application such that if a record is loaded which has a payment pointer field included, it will be loaded into the header so that the Coil browser extension automatically starts sending payment.
-Implemented content unlocking into the daemon and reference client application.
-Developed a news website look for article records and published a handful of articles from Al Bawaba with various payment options attached to them.
-Demoed this interface and functionality at Consensus

Key activities

Implmentation plan per our original proposal:
[x]Add WM support to the OIP daemon
[x]Add user account support to DDX reference client
[x]Expand token controlled access functionality within OIP with additional options (resulting in streaming payments via Coil, access via NFT, and PPV purchase options)
[ ]Add login with Coil to DDX
[ ]Add WM streaming payments to DDX
[ ]Build out documentation and unit tests to turn DDX into a developer kit
[x]Support OIP projects in upgrading their implementations to take advantage of new payment options offered by WM.

We made some progress in implementing login with Coil and adding WM streaming payments to our reference client, DDX, but the project ran out of runway before we could get everything working and finish documentation.

Communications and marketing

We presented our work at CoinDesk's Consensus conference, the whole presentation is behind a paywall, but video of the demo portion showing web monetization is available here:

Consensus 2021 Micropayments, Web Monetization & NFT Demo Video

Note: we're told there were ~500 live viewers of the presentation.

What’s next?

I'm confident that we'll meet our original goals for this project because they are in alignment with our future plans for the specification, but it will take more time.

Discussion (0)