Hacker GitHub

← All repos

coinbase/x402

View on GitHub ↗ ★ 178 TypeScript

A payments protocol for the internet. Built on HTTP.

8 mentions on Hacker News by 7 people: 4 stories, 4 comments · first 2025-05-06 · latest 2026-07-20

Mentions per year 8 mentions · busiest year 2025 (7)
20082026
  1. …get a 402, since curl doesn't speak x402 -- you'd need an x402-aware client (there are Python/TS/Go SDKs at github.com/coinbase/x402) or a wallet that supports it. Happy to add a plain-language walkthrough of the request/response flow to…
  2. …And you can see how to accept stablecoins or spend in the the examples https://github.com/coinbase/x402/tree/main/examples/typescri... https://github.com/coinbase/x402/blob/main/examples/typescri...
  3. …through to the point where it has all the pieces that would be needed. [1] E.g. this file is empty: https://github.com/coinbase/x402/blob/main/package.json
  4. …a library for the same using cryptocurrency and the 402 status code. In fact yea it's called x402. https://github.com/coinbase/x402