interledgerjs / minute

Using Interledger, support content creators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minute

Support content creators with ILP

Quick Start

Before you use this module, install and run Moneyd. Make sure you start moneyd with the --unsafe-allow-extensions flag, which will permit this chrome extension to access the local port.

git clone https://github.com/sharafian/minute.git
cd minute
npm install
npm run build

Now go to chrome://extensions, select "Load unpacked extension", and nagivate to the folder where you cloned this repository.

Enable your Site

Add the following tag to your site's body:

<script>
  if (window.monetize) {
    monetize({
      receiver: /* Put your SPSP payment pointer here */
    }).then(() => {
      // Make sure to thank the user!
    })
  }
</script>

Now any user who navigates to your site and has Minute (or another extension that enables Web Monetization) enabled will stream payments to you. Thanking your supporters and offering them a premium experience will incentivise them to come back.

About

Using Interledger, support content creators


Languages

Language:JavaScript 85.9%Language:HTML 14.1%