Let's talk about Web Monetization
Tags: webmonetization, interledger, coil
Published: 2020-06-14 15:08:03

---
title: Let's talk about Web Monetization
published: true
date: 2020-06-14 00:00:00 UTC
tags: webmonetization, interledger, coil
canonical_url: https://chenhuijing.com/blog/lets-talk-about-web-monetization/
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/lj2m8r09v2bjm5e3km15.jpg
---

Some of you may have been seeing some buzz around the [Web Monetization API](https://webmonetization.org/) recently, especially if you hang out on [DEV.to](https://dev.to/) quite a bit. Perhaps you’ve seen mentions of “[Grant for the Web](https://www.grantfortheweb.org/)”, “[Coil](https://coil.com/)” or “[Interledger](https://interledger.org/)” among many other names and terms and are trying to make sense of it all. Here's my attempt at trying to shed some light on it.

*Note: there have been plenty of excellent posts about Web Monetization right here on Dev, from its history, to how you can implement it, to various plugins and extensions, so do follow [#webmonetization](https://dev.to/t/webmonetization)*

I’ll be honest, the first time I heard about Web Monetization was at View Source 2019 when I met [Christopher Lawrence](https://www.linkedin.com/in/chrislarry/) for a chat over coffee. He shared with me what [Grant for the Web](https://www.grantfortheweb.org/) was all about and what they wanted to achieve. And that’s how I eventually got involved as one of the ambassadors for the program.

The concept of an alternative to ads for content creators to earn money sounded intriguing. For the longest time, there were not that many options to earn money for content you put on the web. You could either ask folks to pay you for your content somehow via payment platforms or subscriptions or you could place ads all over your site.

But first, a little bit of background (there's a lot more to it, but take this as an abridged version).

## Let’s rewind back a couple of years

In October 2015, [Stefan Thomas](https://twitter.com/justmoon) and [Evan Schwartz](https://twitter.com/_emschwartz) released a whitepaper titled [A Protocol for Interledger Payments](https://interledger.org/interledger.pdf) which proposed a protocol for payments across payment systems by enabling secure transfers between ledgers. At the time, both gentlemen were part of [Ripple](https://ripple.com/), at enterprise blockchain company founded in 2012.

{% twitter 651474220304564224 %}

The [Interledger Project](https://interledger.org/) itself is open-source and **not** tied to any single company, blockchain or currency. [Interledger](https://interledger.org/overview.html#what-is-interledger) itself is a network of computers that enable the sending of value across independent payment networks, and the [Interledger Protocol](https://interledger.org/rfcs/0027-interledger-protocol-4/) defines how it all works.

Along with the publication of the whitepaper, [Adrian Hope-Bailie](https://twitter.com/ahopebailie), also proposed the [Interledger Payments Community Group](https://www.w3.org/community/interledger/) at the W3C. As commerce moves increasingly to the web, the W3C has a vested interest in developing open standards for web payments and security by getting those with interest and knowledge involved with the W3C.

[Web Payments Activity](https://www.w3.org/Payments/) at the W3C’s main focus is to develop web standards for APIs that increase the convenience and security of Web Payments. There are two working groups and multiple community groups who are involved in this endeavour, Interledger Payments among them.

## And then we get to 2019

In August 2019, Adrian Hope-Bailie proposed the [Web Monetization API](https://discourse.wicg.io/t/proposal-web-monetization-a-new-revenue-model-for-the-web/3785) on the [WICG Discourse](https://discourse.wicg.io/). It is a Javascript browser API that allows the creation of a payment stream from the user agent to the website. Web Monetization depends on two critical technologies to work, the aforementioned _Interledger protocol_ and something called _payment pointers_.

[Payment pointers](https://paymentpointers.org/) are a standardised identifier for payment accounts which resolve to a URL that can be used to discover available [Open Payment](https://openpayments.dev/) endpoints for interacting with the account. Open Payments is an application level protocol **built on top of** the Interledger protocol.

Here's the list of specifications that have been mentioned so far:

- [Interledger Protocol V4](https://interledger.org/rfcs/0027-interledger-protocol-4/draft-9.html)
- [Payment Pointers](https://paymentpointers.org/), [W3C Interledger Payment Method Unofficial Draft](https://w3c.github.io/webpayments/proposals/interledger/)
- [Open Payments](https://docs.openpayments.dev/introduction)
- [Web Monetization](https://webmonetization.org/docs/api), [W3C Community Group Draft Report](https://webmonetization.org/specification.html)

There is quite a lot of technical detail in them, but still, it's pretty cool to see the process of introducing a new protocol to the web. As I mentioned earlier, there's a growing amount of content about web monetization, albeit slightly scattered and piece-meal at the moment.

## Why are you talking about Web Monetization?

I’m one of the [Grant for the Web Ambassadors](https://www.grantfortheweb.org/post/ambassadors-hj-chen-and-cris-beasley) and if you poke around the stuff I do, you’ll find that I pretty much do standard web developer things.

Since I’m reasonably competent at that, I figured I would document the whole process of implementing the Web Monetization API, explain how the ecosystem works and basically build out a comprehensive guide to web monetization.

Which means, yes, of course, I’m building a website. I **really like** building websites. It’s like totally my jam. I mean, I _could_ draw a zine or something, but nah, I’ll leave that up to all the way more artistic folks out there.

I just got the site up and running and will be working on content, design and layout all in “real-time” moving forward, and you can check it out at [https://webmonetization.dev/](https://webmonetization.dev/).

 ![Home page of webmonetization.dev](https://chenhuijing.com/assets/images/posts/web-monetization/website-640.png)

The site is built with [Eleventy](https://www.11ty.dev/) ❤️, and its source code is on [GitHub](https://github.com/huijing/webmonetization). If you find anything broken, feel free to raise an issue, or even better, submit a pull request. You can also let me know what content would be useful to you.