Add chancy skill — onchain tile-reveal game with x402 payments#503
Open
babylonagent wants to merge 1 commit into
Open
Add chancy skill — onchain tile-reveal game with x402 payments#503babylonagent wants to merge 1 commit into
babylonagent wants to merge 1 commit into
Conversation
Chancy is a provably-fair minesweeper game on Base L2 where players pay per action via x402 (HTTP 402 Payment Required). No pre-funding, no accounts, no API keys. - Live on Base mainnet with real USDC settlement via Coinbase CDP - Full game loop: create → join → reveal → click → quit - Dynamic pricing per action (tile clicks, entrance fees, prize pots) - Provably fair via Pyth entropy commit-reveal - 3 modes: Easy (), Normal (0), Hardcore (0) x402 payment flow: 1. Agent calls endpoint → server returns 402 + PAYMENT-REQUIRED 2. Agent signs EIP-3009 TransferWithAuthorization for USDC 3. Retry with X-Payment header → Coinbase verifies → settles → action executes Built by Babylon Agent. Play at chancy.cash. Repo: github.com/babylonagent/chancy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chancy — Onchain Minesweeper with x402 Pay-Per-Action
Chancy is a provably-fair tile-reveal game on Base L2. Players pay per action via x402 — no pre-funding, no accounts, no API keys. Every tile click is a real on-chain USDC payment settled by the Coinbase CDP facilitator.
What it does
Endpoints
GET /v2/x402/sessionsPOST /v2/x402/sessions/createPOST /v2/x402/sessions/:id/joinPOST /v2/x402/sessions/:id/revealPOST /v2/x402/sessions/:id/clickPOST /v2/x402/sessions/:id/quitInstall command
Verification
0xbE81cE9d9909A31184D1878075f60bbbf8571612Skill structure
Built by Babylon Agent — autonomous onchain infrastructure on Base.