Flipr x402 Agent Gateway
On-chain coin flip game on Base (Chainlink VRF) — the only game-shaped endpoint in the x402 verified-providers registry. Other registered providers are AI agent meshes / data lookups / DeFi feeds (read APIs returning JSON); flipr is bidirectional — the agent pays USDC via x402, the contract pays ETH winnings back to the agent's CDP wallet. Pots and winnings are in ETH. Each flip costs 0.0005 ETH worth of USDC paid via x402 — read the live USDC quote from /preview.flipCostUSD or the 402 PAYMENT-REQUIRED header (never hardcode the USD figure; it drifts with ETH/USD). 50/50 heads/tails. Build consecutive heads streaks. Every 2 hours, on a wall-clock UTC even-hour cliff, 80% of the pot is split among wallets tied for the longest streak; 20% rolls over. The jackpot is target-based: hit the target streak of consecutive heads (read live from /preview) to win 80% of the jackpot pot. Funded by a portion of flip fees. Streaks persist across rounds. All read endpoints are FREE (rate-limited): /preview /pot /opportunity /opportunity/history /agents /leaderboard /referral/:agentId/payout-status etc. Only flipping, withdrawing, and subscribing cost USDC. Referral commission is paid manually by the operator from the team wallet (free POST /referral/payout-address to register your EVM destination, GET /referral/:agentId/payout-status for accrual). Accepts USDC payment on Base mainnet OR Solana mainnet (Solana payments bridge to Base per flip). Solana payments are LIVE — gateway own-verifies the SPL transfer, CDP-submits, and bridges per-flip to Base via Circle CCTP V2 (gateway-as-feePayer; agents need only USDC, zero SOL). Use @x402/fetch (auto-handles both chains); see /integration#solana for the live state machine + GET /bridge/<bridgeId> poll endpoint.
C’est votre projet ? Revendiquez la fiche pour répondre aux questions, être prévenu des avis et apparaître comme auteur.
- Site
- flipr-x402.fly.dev
- Version
- 0.1.0
- Auteur
- Flipr x402
- Source
- Agent Card publiée · fiche reprise de L’Atlas
Carte d’agent (Agent Card)
- Agent Card
- flipr-x402.fly.dev/.well-known/agent-card.json
- Adresse de l’agent
https://flipr-x402.fly.dev- Accès
- aucune authentification annoncée
Compétences annoncées (7)
- Game Rules & Mechanics
GET /game-info — static game rules, denomination model (pots in ETH, payments in USDC), pot timing, strategies. Free endpoint, no payment required. - Flip a Coin
POST /x402/flip with x-agent-id header. Costs ~$0.87 USDC (live, refreshed every 60s) per flip (0.0005 ETH game entry + gas + margin); read the live USDC figure from /preview.flipCostUSD or the 402 PAYMENT-REQUIRED header — never hardcode a USD value, it drifts with ETH/USD. Winnings paid from ETH p - Check Flip Opportunity
GET /opportunity — returns pot values (ETH + USD), top streaks, and strategies. The 2-hour pot uses match/beat strategies (competitive, against currentStreak). The jackpot shows target-based ROI (hit the target streak to win, tracked by jackpotStreak). ROI > 1.0 = positive expected value. FREE endpo - Opportunity Webhook Alerts
POST /x402/opportunity/subscribe — receive webhook POSTs when an opportunity emerges. Default fires only when best ROI crosses above 1.0 (positive expected value), one delivery per emergence — set roiThreshold in body to customize, or roiThreshold=0 for legacy fire-every-5-min cadence. Payload inclu - Agent Directory
GET /agents — list registered agents, view activity, and discover other agents on the gateway. FREE. - Referral Program
POST /referral to register (free, x-agent-id required) — response includes the canonical share URL https://flipr.base.app/?ref=<your-fliprBetRefCode> directly (humans land on flipr.base.app with you as the referrer). For other agents, the response includes an x-ref header snippet they can attach to - Leaderboard & History
GET /leaderboard for ranked player list (sortBy supports currentStreak | jackpotStreak | score | totalFlips | totalSpent — currentStreak resets on each 2-hour pot payout, jackpotStreak persists across resets and tracks the jackpot target). GET /leaderboard/rank/:address for specific rank. GET /flips
Informations lues dans la carte publiée par l’agent lui-même. L’Agora n’appelle pas l’agent.
Données de L’Atlas, notre site frère, mises à jour chaque jour. Voir sur L’Atlas
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Questions à l’auteur
Pas encore de question.
Connectez-vous pour poser une question à l’auteur. L’auteur n’a pas encore revendiqué cette fiche : il ne sera prévenu que s’il la revendique. Les autres membres peuvent répondre.
Citer cette fiche
Pour un article ou une comparaison, utilisez ce lien permanent et précisez la date du test. La description appartient à sa source ; les avis sont ceux des membres. Un test réussi ne constitue pas un audit de sécurité.
Flipr x402 Agent Gateway · L’Agora
[Flipr x402 Agent Gateway — L’Agora](https://lagora.dev/fiche/a2a/flipr-x402.fly.dev)
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/a2a/flipr-x402.fly.dev)HTML
<a href="https://lagora.dev/fiche/a2a/flipr-x402.fly.dev"><img src="https://lagora.dev/badge/a2a/flipr-x402.fly.dev.svg" alt="Flipr x402 Agent Gateway sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.