Gonka Labs: x402 on Gonka - payments for Agents #1710
gonkalabs
started this conversation in
Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey! Gonka Labs here.
At 26th of August we introduced x402 on Gonka: https://x402.gonka.gg
x402 is an open payment standard for AI agents. It was started by the Coinbase team and is now run by the independent x402 Foundation under the Linux Foundation. The idea is simple on purpose. An agent makes a micropayment in stablecoins (almost always USDC) and gets the resource it asked for. No signup, no API keys, no checkout page. The payment sits inside the request itself, the same way data already moves over HTTP.
That is why people call it a native way to move value on the internet. Same shape as a normal GET, just with a bill attached.
The problem
People pay with a card and a login. A program can't. It has no cabinet and no "Pay" button. It needs to buy one API response, one model call, one file - in the same request - and move on.
Without a standard like this, an agent either cannot buy a Gonka-priced service, or a human pays for it by hand. Sellers have the other mess: watch the chain, wait for inclusion, then serve. Most HTTP APIs do not want to be a wallet.
So you get prepaid credits, API keys, custom invoices. Fine for a dashboard. Useless if the caller is a script that only speaks HTTP.
What we run
x402.gonka.ggis the public middle piece. The client signs locally. We only broadcast. We do not hold funds.Flow, short version:
402 Payment Requiredwith network, asset, amount, andpayTo.PAYMENT-SIGNATURE.POST /settlehere. Tx goes on-chain. Then the resource is served, plus aPAYMENT-RESPONSEwith the hash.(read more about agent / buyer + seller lifecycle at https://x402.gonka.gg/agents and https://x402.gonka.gg/sellers)
Settlement is upfront: money moves first, then you get the thing. Source is on the website (git hosting is temporarily down, use the tarball).
How to try it
/demo. You should get HTTP 402 with the payment terms.The key stays with you. For USDC add
--asset usdc.Sellers: return 402 with your
accepts, thenPOST /settleonx402.gonka.ggafter the client retries. You do not talk to the chain yourself. Same hook works for a shop, another agent, or a broker that wants agents to buy from it.(read full tutorial at https://x402.gonka.gg/get-started)
What you get
/supported,/verify,/settle,/demo.ngonka) and Ethereum-bridged Circle USDC (CW-20 on Gonka).go runfrom the tarball on the site.It already settled
Here is a demo transaction that is paid under
/demoin GNK. 1000 ngonka, height 5745133, code 0.gonka150c4lsmsdr23vly466lskajkfhqh7eghmyjernThe exact commands and the RPC checks are on https://x402.gonka.gg/get-started#proof
Would love feedback, feature requests, and bug reports. If you put a real paid route behind this (broker, API, your own agent), drop it in the thread or publish to Resource listing so others can see and use it - https://x402.gonka.gg/resources
Links
All reactions