Monday, June 30, 2025
Social icon element need JNews Essential plugin to be activated.
No Result
View All Result
Crypto now 24
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • METAVERSE
  • WEB3
  • REGULATIONS
  • SCAMS
  • ANALYSIS
  • VIDEOS
MARKETCAP
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • METAVERSE
  • WEB3
  • REGULATIONS
  • SCAMS
  • ANALYSIS
  • VIDEOS
No Result
View All Result
Crypto now 24
No Result
View All Result

bitcoinmagazine.com

July 12, 2023
in Bitcoin
Reading Time: 2 mins read
A A
0

[ad_1]

Lightning HTTP 402 Protocol, often known as L402, is a method to cost for providers and authenticate customers in distributed networks. It combines two highly effective instruments — Macaroons, and naturally, the Lightning Community.

Macaroons are particular tokens used for authentication. They embrace permissions and will be verified utilizing a root key. The documentation states that is vital for methods the place we need to keep away from or can’t go about wanting up the validity of every token.

Lightning is a Layer 2 resolution for making quick and safe bitcoin funds. L402 leverages the capabilities of Macaroons and Lightning to create a mechanism that permits customers to authenticate and make funds while not having a central database.

In L402, a Macaroon features a cost hash. To be legitimate, the consumer must current the Macaroon and the preimage equivalent to the cost hash within the Macaroon. The preimage is obtained by paying a Lightning Community bill.

A newly launched software program referred to as Aperture acts as a intermediary between the consumer and the service’s API. It forwards requests with legitimate L402 to the related API endpoint and might difficulty new Macaroons and Lightning invoices to new customers.

L402 permits for metered APIs, the place providers can cost for his or her utilization with out requiring logins or passwords. The Macaroon, along with the preimage, ensures that the payer has made the cost.

The L402 specification consists of totally different traits such because the model of the Macaroon, a novel consumer identifier and a cost hash that hyperlinks the Macaroon to the Lightning bill. The Macaroon may embrace caveats that outline entry to particular providers, service capabilities and repair constraints.

When verifying the L402, the server makes use of the basis key to examine that the Macaroon was issued by the suitable authority and that every caveat was correctly amended. The preimage can be verified in opposition to the cost hash to make sure that all excellent invoices have been paid.

In abstract, L402 is a protocol that mixes Macaroons and the Lightning Community to allow charging for providers and authenticating customers. It permits for safe funds and authentication with out counting on a central database. Aperture is a software program that helps deal with the method and permits providers to difficulty Macaroons and Lightning Community invoices.

[ad_2]

Source link

Tags: bitcoinmagazine.com
Previous Post

Ecoterra’s Presale Nears End with $6.2M Raised, Launch Set for Friday

Next Post

Fund Manager Vanguard Increases Stake In Bitcoin Mining Stocks To $600 Million

Next Post
Fund Manager Vanguard Increases Stake In Bitcoin Mining Stocks To $600 Million

Fund Manager Vanguard Increases Stake In Bitcoin Mining Stocks To $600 Million

BNB Beacon Chain to introduce two security updates in upcoming hard fork

BNB Beacon Chain to introduce two security updates in upcoming hard fork

Fantom Foundation Addresses Community On Multichain Exploit, Endorses Two Bridging Solutions

Fantom Foundation Addresses Community On Multichain Exploit, Endorses Two Bridging Solutions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Social icon element need JNews Essential plugin to be activated.

CATEGORIES

  • Altcoin
  • Analysis
  • Bitcoin
  • Blockchain
  • Crypto Exchanges
  • Crypto Mining
  • Crypto Updates
  • DeFi
  • Ethereum
  • Metaverse
  • NFT
  • Regulations
  • Scam Alert
  • Uncategorized
  • Videos
  • Web3

SITE MAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2023 Crypto Now 24.
Crypto Now 24 is not responsible for the content of external sites.

No Result
View All Result
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • METAVERSE
  • WEB3
  • REGULATIONS
  • SCAMS
  • ANALYSIS
  • VIDEOS

Copyright © 2023 Crypto Now 24.
Crypto Now 24 is not responsible for the content of external sites.