Jevgenijs Kazanins Profile picture
Sep 23 2 tweets 3 min read Read on X
Ok, let me try explaining (mostly to myself) what the x402 protocol, launched by Coinbase, means:
✔️ When you type a URL into the browser, your browser ("the client") tries connecting to a server that hosts the website (e.g., Bloomberg). If it successfully connects, the server returns status 200, which means “all good.”
✔️ If you type a wrong URL, the server tells your browser that this page does not exist by returning a 404 error (you’ve definitely seen this one).
✔️ So…the 402 is a new type of response (or rather, it has existed for a long time, but was never used), which means: “hey, the URL exists, but you need to pay for it.”
✔️ If you are a human, you see a paywall and enter your credit card to access the content….
✔️ BUT…if you are a machine (e.g., an AI agent), you actually have no idea that you need to pay. You just get a 200 response, but for a paywall page, not the page that you tried to access.
✔️ 402 solves this issue: it tells you, in a machine-readable way, that accessing the URL requires a payment, and again in a machine-readable way, gives you the accepted payment types (“schemes”).
✔️ The machine can then add payment info and send it back to the server to access the content. I’m not sure it would be cool to send your card details, and a machine can’t have a card anyway…
✔️ BUT…a machine can construct a stablecoin payment: create a signature authorizing the transfer. This is safer than sending card details, because you sign a specific transfer (including the recipient address and the amount), instead of giving general access to your wallet.
✔️ What happens then is the content provider sends it to a Facilitator. You can think of it as a merchant acquirer that processes such requests (collecting signed authorizations and posting them to a blockchain).
✔️ After the payment is processed (“settled”), the machine can access the paid content.

Cool things about it:
✔️ This essentially enables AI agents and similar types of interfaces to pay for things online. There is no need for a human in between.
✔️ It creates a new entity, “Facilitator”, which is a new breed of merchant acquirer (Coinbase launched the protocol and offers such a Facilitator).
✔️ This creates a new use case for stablecoins

SOUNDS FREAKING COOL!!!Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Jevgenijs Kazanins

Jevgenijs Kazanins Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @jevgenijs

Jun 18
Reading about the Coinbase Commerce Payments Protocol that will power USDC on Shopify. If I understand correctly, the protocol allows implementing rules similar to the rules currently enforced by Visa and Mastercard:
✔️ The protocol introduces two concepts: "Escrow" and "Operator"
✔️ Funds from payers are collected into the "Escrow" before being transferred to the merchant
✔️ The "Operator", which can be an "advanced smart contract", facilitates the transfer of funds from the "Escrow" to the merchant (or back to the payer)
✔️ "The protocol is not concerned with how the operator is implemented and just recognizes it as an address"
...so Visa or Mastercard can build their own "Operators" that implement the scheme's rules through smart contracts.
How cool is that?!!!
$COIN $V $MAImage
Implementation of merchant discount rates:
github.com/base/commerce-…
Read 4 tweets
Apr 8
Robinhood $HOOD got a European Union brokerage license from the Central Bank of Lithuania. I guess this means Robinhood is coming to Europe! Image
The Central Bank of Lithuania: lb.lt/en/sfi-financi…
@amitisinvesting @Kross_Roads 👆🏻
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(