⚡ Live Demo

Experience the L402 paywall in action. Pay 1 sat to unlock the premium article below.

The Future of Web Monetization

The internet was built on advertising. For decades, "free" content has been subsidized by tracking users, selling data, and bombarding them with ads. But a paradigm shift is underway.

With Lightning Network micropayments, content creators can charge fractions of a cent for individual pieces of content. No subscriptions, no paywalls requiring credit cards, no intermediaries taking 30% cuts.

🔓 Premium: How L402 Changes Everything

The L402 protocol (formerly LSAT) combines HTTP 402 "Payment Required" status codes with Lightning Network invoices and macaroon-based authentication tokens.

Here's why this matters:

1. Micropayments become practical. Lightning can process payments of 1 satoshi (≈$0.001) with near-zero fees and instant settlement. This enables per-article, per-API-call, or per-second pricing models that were impossible before.

2. No accounts required. Visitors pay and access content without creating accounts, sharing emails, or entering credit card details. Privacy by default.

3. Machine-to-machine payments. AI agents can autonomously pay for API access, data feeds, and compute resources using L402 tokens. This is the foundation of the autonomous economy.

4. Composable tokens. L402 macaroons can be attenuated — a token for full access can be restricted to read-only before passing it to a sub-agent. This enables delegation without trust.

The web is evolving from ad-supported to value-supported. L402 Gateway makes this transition easy for any website, with just 3 lines of HTML.

🎉 You just experienced the future of web monetization!

What Just Happened

  1. The premium content was wrapped in <div data-l402-price="1">
  2. Our JS snippet replaced it with a paywall overlay
  3. You clicked "Pay with Lightning" → we created a 1 sat invoice via LNbits
  4. You paid the invoice with your Lightning wallet
  5. We verified the payment and unlocked the content
  6. A signed L402 token was stored in your browser — you won't pay again

Want this on your site? Sign up and add 3 lines of HTML.