You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,16 +19,23 @@ Built with [Hono](https://hono.dev), [viem](https://viem.sh), and [Zod](https://
19
19
20
20
## How It Works
21
21
22
-
The x402 protocol enables HTTP 402-based micropayments. This facilitator acts as the trusted intermediary that verifies payment signatures and settles them on-chain:
23
-
24
-

25
-
26
-
27
-
1. Client requests a paid resource, gets a **402** response with payment requirements
28
-
2. Client signs an **EIP-712**`TransferWithAuthorization` ([EIP-3009](https://eips.ethereum.org/EIPS/eip-3009)) message
29
-
3. Resource server forwards the signed payment to this facilitator
30
-
4. Facilitator **verifies** the signature, checks on-chain state, and calls `transferWithAuthorization` to move USDC
31
-
5. Resource server grants access to the content
22
+
The x402 protocol enables HTTP 402-based micropayments. This facilitator acts as the trusted intermediary that verifies payment signatures and settles them on-chain.
0 commit comments