Yeah, micropayments are cool

Only if you don't have to make them manually

Problem:

Paying Lightning Network invoices manually requires multiple steps

LN payments UX is currently tedious.

Doesn't allow certain use-cases like fast payments without user interaction.

Architecture

Architecture

(not the json-rpc)

lightning_httpd

Security Concerns

  1. Browsers are huge security holes
  2. And they store your auth tokens
  3. Websites could be malicious

Mitigations

  1. Rate-limit payments
  2. Customizable daily limits
  3. Allow the user to manually authorize payments
    1. This is a per-website choice

Flow

  1. Install the extension and copy the auth-token generated by the browser
  2.  
  3. Profit
$ lightning-cli authorize-browser MTA0LDc3LDYsNzAsMTg1LDE0MSw4NSwyMTYsMTY...

Logic of the demo

A Little Disclaimer...

  1. I originally (i.e. during the hackathon) tought that this demo was super cool
  2. I still think so.. but i understand it's probably useless
  3. The psychological barrier to pay-per-use is probably too high

Host authorization

(you can enable auto-payments)

One-click payment

Fun Facts

  1. Apparently I forgot to push the cool colorful UI.. so we are stuck with the basic one
  2. MP4 fragmentation is magic
  3. Different fragments have different lenght because of ~compression~

Demo

 

Lightning Residency - NYC

By Alekos Filini

Lightning Residency - NYC

  • 544