x402 on Gonka
checking…

Git: gonkalabs Git is temporarily unavailable. Download the source from this website — Source.

Network & assets

Constants the facilitator and any compatible client must agree on.

Chain

CAIP-2cosmos:gonka-mainnet
Chain IDgonka-mainnet
Address prefixgonka
Explorergonka.gg — tx URL https://gonka.gg/tx/{hash}

GNK

DisplayGNK
On-chain denomngonka
Decimals9 — 1 GNK = 1_000_000_000 ngonka
Message/cosmos.bank.v1beta1.MsgSend
FeeFacilitator-built txs use 0ngonka fee and gas limit 120000.

USDC

DisplayUSD Coin (bridged from Ethereum)
CW-20gonka1fa83z7np903k9vh63guy82qthtv373d7vjeq0y7xeqh50rzn8vtssffkre
Ethereum origin0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Decimals6 — 1 USDC = 1_000_000 atomic
Message/cosmwasm.wasm.v1.MsgExecuteContract
Execute JSON{"transfer":{"recipient":"gonka1…","amount":"…"}}

Bridge USDC onto Gonka through the official Ethereum bridge. Keplr does not show CW-20 balances until you add the contract as a custom token.

RPC

The facilitator uses the public gateway. No API key. Paths it calls:

BalancesGET /chain-api/cosmos/bank/v1beta1/balances/{address}
AccountGET /chain-api/cosmos/auth/v1beta1/accounts/{address}
CW-20 queryGET /chain-api/cosmwasm/wasm/v1/contract/{contract}/smart/{base64}
BroadcastPOST /chain-api/cosmos/tx/v1beta1/txs
Tx by hashGET /chain-api/cosmos/tx/v1beta1/txs/{hash}

Docs for the gateway: rpc.gonka.gg/endpoints.

This host

Docs & facilitator
Paid example/demo
x402 specdocs.x402.org