L402 Spec - Reconfirmed
Protocol specifications makes it easier for Interoperability, security, data integrity and error handling. To make it clear, we are not changing anything. We are just re confirming what lightning labs have put together the protocol spec for L402
Here's the summary:
(Server sending 402 payment required status)
WWW-Authenticate: - header type response (WWW in caps as per Mozilla spec)
L402 – Static word all caps
macaroon=””, (All lower case word macaroon and double quotes)
invoice=”” (All lower case invoice and double quotes)
Since we are seeing the first set of Apps and tools getting created as part of this hackathon, we want to make sure everyone is following the protocol specs exactly the same way and all of them are interoperable on Day 1.
While the key devs building for the hackathon agreed on discord to follow the spec, I want to jot it down here so that others can look it up and follow the same.
The power of nostr + bitcoin at your hands. Running relay wss://relay.current.fyi. Building current App. App is now available on App Store and play store. Go to https://getcurrent.io to get it. Working on plebAI.com = GPT4ALL +privacy
Related Project
PlebAI