Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blip-0026: L402 - Lightning HTTP 402 Protocol #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 8, 2023

  1. blip-0026: L402 - Lightning HTTP 402 Protocol

    In this commit, we add a bLIP for the L402 (formerly known as LSAT)
    protocol. The L402 protocol presents a standardized way of adding LN
    micropayments to any existing HTTP-REST or gRPC API. The L402 protocol
    repurposes the HTTP 402 Payment Required error code with the necessary
    authentication headers required to bind a request's validity to the
    payment of an LN invoice. Macaroons are used as flexible authentication
    credentials (supports custom caveats, attenuation, etc) which allow an
    L402 reverse-proxy to validate an L402 API key without backend LN node
    interaction for each request (the macaroon commits to the payment hash).
    Roasbeef committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    d2a8c19 View commit details
    Browse the repository at this point in the history