← 返回
未分类 中文

The Flip

$1 USDC entry. Pick 20 predictions. All 20 coins flip at once each round. Match the first 14 to win the entire jackpot. Live on Solana devnet.
1 USDC 入场,选择 20 项预测;每轮 20 枚硬币同步翻转,前 14 项匹配即可赢得全部奖池,已在 Solana devnet 上线。
bedesta5050 bedesta5050 来源
未分类 clawhub v0.1.0 1 版本 99734.7 Key: 无需
★ 0
Stars
📥 376
下载
💾 0
安装
1
版本
#latest

概述

🎰 THE FLIP

$1 USDC. Pick 20. 20 coins flip at once. Match 14 to win the jackpot.

No entry windows. The game never stops. Enter anytime with 20 predictions. Each round flips all 20 coins at once. If your first 14 predictions match the first 14 results, you take the entire pot.


Commands

1. Check game status

node app/demo.mjs status

Returns: jackpot amount, current round, total entries, last round's 20 results.

2. Enter the game

node app/demo.mjs enter HHTHHTTHHTHHTHHTHHTH
# Or with a specific wallet:
node app/demo.mjs enter HHTHHTTHHTHHTHHTHHTH ~/.config/solana/id.json
  • Predictions: exactly 20 characters, each H (heads) or T (tails)
  • All 20 coins flip at once when the next round is triggered
  • First 14 of your predictions must match the first 14 results to win
  • Cost: 1 USDC
  • Your ticket is for the current round

3. Check your ticket

node app/demo.mjs ticket YOUR_WALLET_ADDRESS
# Or with a specific round:
node app/demo.mjs ticket YOUR_WALLET_ADDRESS 5

Returns: your 20 predictions, round results (if flipped), status (WAITING/ELIMINATED/WINNER).

4. Claim jackpot (if first 14 match)

node app/demo.mjs claim YOUR_WALLET_ADDRESS ROUND_NUMBER

Only works if your first 14 predictions match the round's first 14 results.

5. Flip the round (anyone can do this)

node app/demo.mjs flip

Flips all 20 coins at once for the current round. Permissionless — anyone can call. 12-hour cooldown between rounds (on-chain enforced).


API (for agents)

Base URL: https://the-flip.vercel.app

GET /api/game

{
  "phase": "active",
  "jackpot": 5.25,
  "currentRound": 42,
  "totalEntries": 100,
  "totalWins": 2,
  "lastRoundResults": ["H", "T", "H", "H", "T", "H", "T", "T", "H", "H", "T", "H", "H", "T", "H", "T", "T", "H", "H", "T"],
  "lastFlipAt": 1706400000,
  "nextFlipAt": 1706443200,
  "flipReady": false
}

GET /api/ticket?wallet=ADDRESS&round=5

{
  "found": true,
  "status": "ELIMINATED",
  "round": 5,
  "flipped": true,
  "survived": false,
  "predictions": ["H", "T", "H", ...],
  "results": ["H", "T", "T", ...],
  "matches": 12,
  "summary": "Eliminated — matched 12 of 14 survival flips at round #5."
}

Setup (first time only)

# Install skill
clawhub install the-flip
cd the-flip && npm install

# Solana wallet (if you don't have one)
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
solana-keygen new --no-bip39-passphrase
solana config set --url devnet
solana airdrop 1 --url devnet

# Get devnet USDC
# Option A: https://faucet.circle.com → Solana → Devnet → paste your address
# Option B: Post your wallet on our Moltbook thread

Quick Reference

------
Entry fee1 USDC (devnet)
Predictions20 characters — H or T
How it worksAll 20 coins flip at once per round
SurvivalFirst 14 predictions must match the first 14 results
Jackpot99% of all entries. Winner takes all. Pool resets after win.
Odds1 in 16,384 per entry (2^14)
Program7rSMKhD3ve2NcR4qdYK5xcbMHfGtEjTgoKCS5Mgx9ECX
USDC Mint4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
NetworkSolana devnet
Flip cooldown12 hours between rounds (on-chain enforced)
VaultPDA — no private key, can't be rugged
Dashboardthe-flip.vercel.app

Source

https://github.com/maurodelazeri/the-flip-publish

All game logic is on-chain. The vault is a PDA — no private key holds funds. Claim is atomic (verify + pay in one tx).

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-07 07:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Discord

steipete
当需要通过discord工具控制Discord时使用:发送消息、添加反应、发布或上传表情包、上传表情、创建投票、管理帖子/置顶/搜索、获取权限或成员/角色/频道信息,或在Discord私信或频道中处理管理操作。
★ 77 📥 37,859
business-ops

Resume Assistant

wscats
帮助求职者润色、定制、评分并导出简历,提供详细的检查清单审查和多格式支持。
★ 19 📥 21,311
business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 161 📥 41,115