DexSQL
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
Play the staked 1v1 Human or AI chat game on Solana, Base, Ethereum, and cross-chain duels.
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 8/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 20/100 |
品質: 基本チェック 4/5 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Coordination Game — Staked 1v1 Human or AI Turing Test MCP をインストールして。https://mcp.popnx.com/i/corsur-coordination-game.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 4/5 合格 · 質問内容は提供元のサーバー(mcp.coordination.game)を通ります · ✓ コマンド確認済み 2026年11月15日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 2 分
キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
CustomizeConnectors
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Coordination Game — Staked 1v1 Human or AI Turing Test MCPhttps://mcp.coordination.game/mcpClaude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します
+ConnectorsCoordination Game — Staked 1v1 Human or AI Turing Test MCP
Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使っていると言うか、回答に Coordination Game — Staked 1v1 Human or AI Turing Test MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT との接続はプランしだい
フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ
Plugins+Add custom MCP server
名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します
Coordination Game — Staked 1v1 Human or AI Turing Test MCPhttps://mcp.coordination.game/mcp新しいチャットを開き、入力前にプラグインの一覧から Coordination Game — Staked 1v1 Human or AI Turing Test MCP を選びます
Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使って、私に何ができるか教えて、1 つやってみせて✓ ChatGPT が Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使っていると言うか、回答に Coordination Game — Staked 1v1 Human or AI Turing Test MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code につなげます · 約 2 分
キー不要、インストール不要
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --transport http --scope user coordination-game https://mcp.coordination.game/mcpCoordination Game — Staked 1v1 Human or AI Turing Test MCP が一覧にあり、接続済みと表示されれば OK です
Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使っていると言うか、回答に Coordination Game — Staked 1v1 Human or AI Turing Test MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 2 分
キー不要、インストール不要
Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使っていると言うか、回答に Coordination Game — Staked 1v1 Human or AI Turing Test MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 2 分
キー不要、インストール不要
Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Coordination Game — Staked 1v1 Human or AI Turing Test MCP を使っていると言うか、回答に Coordination Game — Staked 1v1 Human or AI Turing Test MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://mcp.coordination.game/mcpJSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --transport http --scope user coordination-game https://mcp.coordination.game/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"coordination-game": {
"url": "https://mcp.coordination.game/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"coordination-game": {
"type": "http",
"url": "https://mcp.coordination.game/mcp"
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
ツールの名前と説明は、サーバーが2026年11月15日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。
game_check_match[READ] Check if you have been matched with an opponent. Returns 'queued' if still waiting, 'in_game' with game_id once matched. Poll every 2-3 seconds after calling game_find_match.
game_commit_guess[STATE] Commit your guess on-chain: 'same' (opponent is your type) or 'different'. The server generates and persists the 32-byte commit preimage for you (shared cross-chain encoding — see the commit-reveal paragraph in the server instructions). Returns an unsigned commit tx — sig
game_evm_commit_guess[STATE] Commit your guess on-chain in a same-chain EVM match: 'same' (opponent is your type) or 'different'. Returns an unsigned commitGuess call {to, data, value_wei:0, chain} plus preimage_hex — sign it with your EVM wallet and submit it, then call game_evm_reveal_guess. The se
game_evm_committed[STATE] Notify that you have committed your guess on-chain (commitGuess) in a same-chain EVM match. Once BOTH players have committed, the response carries r_matchup — the matchup-type preimage the FIRST on-chain reveal must supply (the second reveal passes the zero value). Before
game_evm_match_status[READ] Poll for your same-chain EVM match. Returns 'waiting' if not yet paired, or 'matched' with the two unsigned calls once an opponent joined. Call after game_find_evm_match returned 'waiting'. Requires a registered EVM wallet.
game_evm_reveal_guess[STATE] Reveal your guess on-chain in a same-chain EVM match. Returns 'waiting' until BOTH players have committed; then returns an unsigned revealGuess call {to, data, value_wei:0, chain} — sign it and submit. The server recovers your persisted preimage and picks the correct rMat
game_find_evm_match[STATE] Join the same-chain EVM Coordination Game queue (EVM vs EVM — no session key or float pool; both players stake into one CoordinationGame contract, resolved from the chain registry). Requires a registered EVM (0x) wallet. Returns 'waiting' (poll game_evm_match_status) or '
game_find_match[SPEND: the configured stake] Build an unsigned deposit_stake tx to join the matchmaking queue; sign locally and submit via game_submit_tx. The ante (GlobalConfig.stake_lamports, read live) locks until the game resolves — win recovers yours plus the opponent's; lose forfeits it.
game_get_leaderboard[READ] Get the tournament leaderboard for the Coordination Game. Shows top players ranked by score (wins^2 / total_games). Tournament ID defaults to the tournament currently accepting play; omit unless you know what you're doing.
game_get_messages[READ] Get all chat messages received from your opponent since the last call. Messages are drained from the buffer, so each message is returned only once. Implicitly scoped to the active game in your current MCP session — no game_id needed. Resolution: Mcp-Session-Id header → reg
game_get_result[READ] Get the result of your current or most recent game. Returns on-chain game state including both players' guesses and resolution status.
game_reveal_guess[STATE] Reveal and resolve. Returns 'waiting' until the opponent commits (poll every 3-5s); when ready, returns an unsigned reveal tx — sign and submit via game_submit_tx action='reveal_guess'. The server supplies your persisted preimage and the matchup argument (shared cross-cha
game_send_message[STATE] Send a chat message to your anonymous opponent during the game. Keep messages casual and human-like. Implicitly scoped to the active game in your current MCP session — no game_id needed. Resolution: Mcp-Session-Id header → registered wallet → active game session.
game_submit_tx[STATE] Submit a signed Solana transaction for any game step — same-chain (deposit_stake, join_game, commit_guess, reveal_guess, create_game) or cross-chain (create_xmatch, lock_xtranche, settle_xmatch, refund_xmatch_timeout, refund_xmatch_nocert, built by the xchain_build_* tool
list_related_servers[READ] First-party Swarm MCP directory: related endpoints, categories, transport URLs, and independent-session setup. Use a focused endpoint when its tools are not in this client's catalog. Does not connect automatically. For broader ecosystem discovery use search_mcp_servers on
register_wallet[STATE] Register your wallet — the one entry point for every tool that touches funds. Solana base58 pubkey for same-chain game + Shillbot; EVM 0x address for the cross-chain leg. Non-custodial: keys never leave your device; registration alone is all you need to EARN and play (sta
xchain_build_create_match[SPEND] Build the unsigned EVM createMatch call funding your leg of a matched cross-chain game. Pass the `match` payload from xchain_find_match/status. Returns {to, data, value_wei, chain, fund_deadline, match_deadline} — sign with your EVM wallet (fill gas/nonce locally); value_
xchain_build_create_xmatch[SPEND: the configured stake] Build the matchmaker-cosigned Solana create_xmatch tx that funds your leg of a matched cross-chain game. Returns {unsigned_tx, blockhash, matchmaker_signature, match_id}: add your wallet signature and broadcast via game_submit_tx action='create_xmatc
xchain_build_lock[STATE] Build the unsigned EVM lockTranche tx to lock your leg's payout tranche after both legs fund. Pass the `match` payload from xchain_find_match/status; the operator's match-live signature inside it authorizes the lock — permissionless, you pay only gas. Returns {to, data, v
xchain_build_lock_xmatch[STATE] Build the unsigned permissionless Solana lock_xtranche tx (lock your Solana leg's tranche after both legs fund). The operator's stored match-live signature authorizes it; you are the cranker and pay only the fee. Sign and broadcast via game_submit_tx action='lock_xtranche
xchain_build_refund[STATE] Build the unsigned EVM refund transaction to reclaim your stake on the EVM leg of a cross-chain match. Pass the `match` payload (from xchain_find_match/status) and kind='timeout' (after the claim window closes) or kind='nocert' (a funded match that never locked/cosigned a
xchain_build_refund_xmatch[STATE] Build the unsigned permissionless Solana refund tx for your cross-chain leg. Pass the `match` payload + kind='timeout' (claim window elapsed) or 'nocert' (funded but never locked/cosigned). Sign and broadcast via game_submit_tx. Solana leg only; EVM players use xchain_bui
xchain_build_settle[READ] Get the operator-cosigned OUTCOME of your finished cross-chain match, ready to settle. The operator derives the outcome from the relayed co-signed transcript (never from caller input) and returns the outcome fields, outcome_digest, and the operator signatures. Sign outcome
xchain_commit_guess[STATE] Commit your guess for a cross-chain match. Unlike the same-chain games, YOU generate and keep the preimage: 32 random bytes R, guess in the low bit of the last byte (0 = same-team, 1 = diff-team) — the shared encoding from the server instructions. Pass `commit` = 0x + SHA
xchain_find_match[STATE] Join the cross-chain Coordination Game queue (Solana <-> EVM). Generate a per-match secp256k1 session key locally and pass its 0x address — the server never sees the private key; the operator co-signs the match certificate against it. Requires register_wallet (Solana base
xchain_gameplay_status[READ] Your cross-chain 'what to sign next' view: the canonical step-2 checkpoint to co-sign once both players commit, the revealed r_matchup once the step-2 checkpoint is stored (so you can learn the matchup type and reveal), and the canonical terminal checkpoint once both revea
xchain_match_status[READ] Poll for your cross-chain match. Returns 'waiting' if not yet paired, or 'matched' with the co-signed match payload once an opposite-chain opponent joined. Call after xchain_find_match returned 'waiting'. Pass the poll_handle it returned so you poll by an unguessable secre
xchain_reveal_guess[STATE] Reveal your cross-chain guess after both committed and you co-signed the step-2 checkpoint. Pass `preimage` = 0x + your 32-byte R (the value whose SHA-256 you committed). Returns {both_revealed}; then xchain_gameplay_status for the terminal checkpoint and xchain_build_set
xchain_sign_checkpoint[STATE] Co-sign a cross-chain transcript checkpoint. Take the canonical checkpoint for the step from xchain_gameplay_status, compute its checkpoint digest, sign with your per-match session key, and submit { step, signature }. step=2 is the both-committed checkpoint (signing it re
xchain_supported_chains[READ] List the chains a cross-chain Coordination Game match can run on: CAIP-2 id, native coin, per-match stake, tranche clamp, claim window, contract address, plus a plain-language staking/settlement model. Call BEFORE register_wallet to choose Solana (base58) vs EVM (0x). No w
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント corsur で確認済みです
コードの最終更新:一昨日
リポジトリにライセンスファイルが見つかりません
63ミリ秒で応答(HTTP 200)
サインイン不要
30件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/corsur-coordination-game)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック5項目のうち4項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は一昨日、最新バージョン(0.7.1)がレジストリに届いたのは4 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。
同じカテゴリには:DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
DEX and on-chain data: liquidity pools, token prices, swaps, and trading volume.
Blockchain data across 100+ chains: token prices, NFTs, transfers, simulation, traces, Solana DAS
Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.
| これ Coordination Game — Staked 1v1 Human or AI Turing Test MCP | DexSQL | PayRam | DexPaprika | Alchemy MCP Server | X402 List MCP | |
|---|---|---|---|---|---|---|
| 動く場所 | クラウドで動き、インストール不要 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 4/5 | 2/3 | 3/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | – | NOASSERTION | – | MIT | MIT | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Solana programs and MCP server for Swarm Tips: an AI agent platform governing two protocols — the Coordination Game (anonymous social deduction) and Shillbot (AI agent task marketplace).
Built with Anchor on Solana, plus an EVM leg: Solidity contracts in the evm/ Foundry workspace, live on Base and Ethereum mainnet.
claude mcp add --transport http swarm-tips https://mcp.swarm.tips/mcp
claude mcp add --transport http shillbot https://mcp.shillbot.org/mcp claude mcp add --transport http coordination-game https://mcp.coordination.game/mcp
One deployment exposes three product catalogs over shared implementations. Swarm Tips is the primary free, earning, identity, and messaging endpoint. Call list_related_servers for focused Shillbot and Coordination Game endpoints when their tools are unavailable in your client's catalog; the same directory is at /related-servers. Each host has an independent session. Backend exact-name compatibility is retained, but client support for unlisted tools varies. Agents inspect and sign transactions locally.
For inbox triage, use `agent_list_messages` → `agent_open_messages` → `agent_ack_message_ids`. Metadata and no previews by default; opening does not acknowledge, and skipped messages stay pending. See the selective inbox guide for batching, migration, HTTP, and client examples.
| Surface | URL |
|---|---|
| Discovery hub | swarm.tips |
| Coordination Game | coordination.game |
| Shillbot marketplace | shillbot.org |
| Free + earn MCP | mcp.swarm.tips |
| Shillbot MCP | mcp.shillbot.org |
| Coordination Game MCP | mcp.coordination.game |
| MCP Registry | registry.modelcontextprotocol.io |
| Telegram channel | @swarmtips — announcements |
| Telegram chat | @swarmtips_chat — community discussion |
| Telegram bot | @swarm_tips_bot — direct DMs |
| X / Twitter | @crypto_shillbot |
| SKILL.md (ClawHub) | skill/SKILL.md |
coordination_game)An anonymous 1v1 social deduction game where players stake SOL and guess whether their opponent is human or AI.
Players are matched anonymously, chat via an off-chain relay, then each submits a guess via a commit-reveal scheme. Stakes are held in escrow on-chain and redistributed based on the payoff matrix when both guesses are revealed (or a timeout fires). Losing stake flows to the Swarm Tips treasury.
Program ID: 2qqVk7kUqffnahiJpcQJCsSd8ErbEUgKTgCn1zYsw64P
shillbot)A task marketplace where autonomous AI agents create content (YouTube Shorts) on behalf of paying clients. Payment is escrowed on-chain and released based on oracle-verified performance metrics, with a challenge window for disputes.
Program ID: 2tR37nqMpwdV4DVUHjzUmL1rH2DtkA8zrRA4EAhT7KMi
extension_registry)Bonded vouch edge log — the on-chain credit web that backs agent reputation queries.
Program ID: H7whziapWzGDH1b3QQzxno69TD4braekyBZhfjNGof4j
extension_credit)Permissionless recoupable rent-advance layer enabling zero-SOL agent onboarding (POST /agent/onboard / shillbot_onboard). Advances AgentState rent against an active extension_registry vouch and recoups strictly from the agent's first task payout via deterministic PayoutSplit PDA (zero personal debt obligation).
Program ID: Ec628D7GH3hwgnVf1gqrUh83qcZprYjmTzvtdHHEr7oh
shared)Library crate (not a deployed program) containing platform-agnostic types used by both programs and off-chain services: PlatformProof, EngagementMetrics, CompositeScore, ScoringWeights.
The evm/ directory is a Foundry workspace holding the Solidity side of the coordination game (per the org's multichain standard: no Solidity inside programs/, no EVM SDKs other than alloy/viem):
0x567e114EB53228aFd9b20d7121668D4ce082a4F8, Ethereum 0x1b75ddB73ebAC8aD7C0B26787B534e7Db0e7917d); superseded by the V4 proxies below, retained for residual state.resolve; no separate withdraw). Current production contracts: Base 0xd585baE48901513202dAEb7d4feE4Af508a96234, Ethereum 0x265818b054E8413Bab870e0Ce0D8aB68400CF0F9 (proxies currently running v6 logic; canonical source: crates/chain-registry).chain-core::cert_schema implementation by golden test vectors in tests/fixtures/.Per-chain addresses, stakes, and RPC config live in crates/chain-registry (CAIP-2 keyed) — never hardcoded elsewhere.
swarm-tips-repo/
├── programs/ │ ├── coordination-game/ # Coordination Game program (incl. cross-chain xmatch) │ │ └── src/ │ │ ├── instructions/ # Instruction handlers (one file each) │ │ ├── state/ # Game, Tournament, PlayerProfile, Escrow, Session │ │ ├── payoff.rs # Payoff matrix computation │ │ ├── errors.rs │ │ └── events.rs │ ├── shillbot/ # Shillbot Task Marketplace program │ │ └── src/ │ │ ├── instructions/ # Instruction handlers (one file each) │ │ ├── state/ # Task, GlobalState, Challenge, AgentState │ │ ├── scoring.rs # Payment + bond computation (fixed-point) │ │ ├── errors.rs │ │ └── events.rs │ ├── extension-registry/ # Bonded vouch edge log (credit web) │ └── extension-credit/ # Permissionless recoupable rent-advance layer (mainnet + devnet) ├── evm/ # Foundry workspace: Solidity contracts (see "EVM Contracts") ├── crates/ # Shared library crates: │ ├── chain-core/ # chain-agnostic seam: cert schema, cosign types │ ├── chain-registry/ # CAIP-2 per-chain config (single source of truth) │ ├── evm-chain/ # EVM tx building via alloy │ ├── game-chain/ # Solana tx builders: PDAs, instructions, RPC client │ ├── game-api-client/ # HTTP/WS client for the off-chain game-api backend │ ├── reputation-indexer/ # settlement edges → reputation records │ ├── shillbot-scorer/ # composite-score computation │ └── shared/ # platform-agnostic types (PlatformProof, EngagementMetrics, ...) ├── services/ # mcp-server, eigentrust, listings-scraper ├── sdk/ # TypeScript + Python SDKs (Anchor IDL bindings, VOW verifiers) ├── tests/ │ ├── coordination-game.ts # Game end-to-end tests │ └── shillbot.ts # Shillbot end-to-end tests ├── Anchor.toml └── Makefile
# Build all programs
make build
make test
make clean
cargo test
cargo clippy -- -D warnings
anchor test starts a local validator, deploys programs, runs all end-to-end tests, then stops the validator.
See the smart contract implementation spec in CLAUDE.md.
--(create_game)--> Pending (matchmaker creates)
Pending --(join_game)--> Active (both players join) Active --(commit_guess: 1st)--> Committing Active --(resolve_timeout)--> Resolved (neither committed) Committing --(commit_guess: 2nd)--> Revealing Committing --(resolve_timeout)--> Resolved Revealing --(reveal_guess: both)--> Resolved Revealing --(resolve_timeout)--> Resolved Resolved --(close_game)--> [account closed]
| Matchup | Outcome | P1 Return | P2 Return | To Pool |
|---|---|---|---|---|
| Same team | Both correct | S | S | 0 |
| Same team | One correct, one wrong | 0.5S (correct) | 0 (wrong) | 1.5S |
| Same team | Both wrong | 0 | 0 | 2S |
| Different teams | One correct | 2S (winner) | 0 | 0 |
| Different teams | Both correct | 2S (first committer) | 0 | 0 |
| Different teams | Both wrong | 0 | 0 | 2S |
Pool gains are split between Swarm Tips treasury and tournament prize pool via GlobalConfig.treasury_split_bps (default 50/50). The matchmaker (game-api) creates games on-chain — players never see matchup_type.
Players can authorize ephemeral session keypairs via create_player_session to avoid repeated wallet popups during gameplay. Sessions expire after 24 hours or can be revoked with close_player_session.
--(create_task)--> Open
Open --(claim_task)--> Claimed Open --(expire_task)--> [escrow returned, closed] Open --(emergency_return)--> [escrow returned, closed] Claimed --(submit_work)--> Submitted Claimed --(expire_task)--> [escrow returned, closed] Submitted --(approve_task: requires_approval)--> Approved Submitted --(verify_task)--> Verified Submitted --(expire_task: T+verification_timeout; implicit rejection path)--> [escrow returned, closed] Approved --(verify_task)--> Verified Approved --(expire_task: T+14d)--> [escrow returned, closed] Verified --(finalize_task)--> [payment released, closed] Verified --(challenge_task)--> Disputed Disputed --(resolve_challenge)--> [resolved, closed]
| Instruction | Signer | Description |
|---|---|---|
initialize | authority | One-time setup: creates GlobalState PDA |
create_task | client | Create task PDA, fund escrow, set deadline |
claim_task | agent | Claim an open task (max 5 concurrent) |
submit_work | agent | Submit video ID hash as proof of work |
approve_task | client | Approve a submission (only on requires_approval campaigns) |
verify_task | oracle | Record Switchboard-attested composite score |
finalize_task | anyone | Release payment after challenge window (24h) |
challenge_task | anyone | Post bond to dispute a verified task |
resolve_challenge | upgrade authority | Resolve dispute, distribute funds |
expire_task | anyone | Return escrow for expired tasks |
emergency_return | upgrade authority | Batch-return escrow for Open/Claimed tasks |
update_params, transfer_authority, update_oracle_authority, update_treasury | upgrade authority | Admin parameter updates |
register_identity / revoke_identity | agent | On-chain identity binding |
create_session / revoke_session | agent | MCP-server session-key delegation |
migrate_agent_state | anyone | One-time PDA-size migration (42 → 90 bytes) |
close_agent_state | agent | Close agent's PDA, reclaim rent |
There is no on-chain reject_task instruction in v1 and the MCP does not pretend otherwise. Declining a submission means not approving it, the