← 返回 Skills 市场
THE FLIP
作者
maurodelazeri
· GitHub ↗
· v1.0.8
3312
总下载
1
收藏
2
当前安装
18
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
This repository genuinely implements a Solana devnet coin-flip game and is internally coherent, but it requires access to your Solana keypair to send transactions (enter/flip/claim). Before using: (1) Do NOT post or upload your private key — only share your public address. (2) Inspect ~/.config/solana/id.json (or the file you pass) — it contains your private key; only use a throwaway devnet wallet with minimal funds. (3) Avoid running curl installers from unknown domains (the SKILL.md points to release.anza.xyz); prefer official Solana install instructions (official docs). (4) If you only want to query state, use the provided HTTP API or node app status/ticket commands without supplying a keyfile. (5) Verify the on-chain program ID and contract behavior on Solana Explorer and consider reviewing the Rust program itself (included) before calling any entry/claim/withdraw functions. If you want a safer test, create a new devnet-only wallet and fund it with airdrops rather than reusing keys that hold real assets.
功能分析
Type: OpenClaw Skill
Name: the-flip
Version: 1.0.8
The skill bundle is benign. It implements a Solana devnet game, 'THE FLIP', with clear instructions and code. High-risk capabilities like reading wallet files (`~/.config/solana/id.json` in `app/demo.mjs`) and using `curl | sh` for Solana CLI installation (in `SKILL.md`) are standard practices for Solana development and are used for their stated, legitimate purposes without any indication of malicious intent, data exfiltration, or prompt injection attempts against the agent.
能力评估
Purpose & Capability
Name/description (a Solana devnet coin-flip) are consistent with the included Rust program, IDL, and Node demo script. Required binary (node) aligns with the JS demo. Dependencies in package.json match expected Solana/Anchor tooling.
Instruction Scope
SKILL.md and app/demo.mjs instruct the agent/user to read a local keyfile (~/.config/solana/id.json) or use ANCHOR_WALLET for signing transactions; the demo will load and use private key material to send on-chain transactions (enter/flip/claim). The README suggests posting your wallet on a public forum to receive devnet USDC (ambiguous and risky). The SKILL.md also instructs running a remote installer via curl from release.anza.xyz — an unverified host. These instructions expand scope beyond just 'querying game state' to reading local secrets and running external installers.
Install Mechanism
There is no automated install spec (instruction-only), lowering automatic risk. However SKILL.md recommends installing Solana CLI via a curl command pointed at release.anza.xyz (not an official Solana domain). That is a risky manual install recommendation and could supply arbitrary code if followed.
Credentials
The skill declares no required env vars, but the demo code reads process.env.ANCHOR_WALLET and defaults to ~/.config/solana/id.json to load a Keypair (private key). Accessing a local keyfile is necessary to sign transactions, but this is sensitive and not explicitly declared in requires.env. The README suggestion to post your wallet publicly is ambiguous (could lead users to expose private keys if they misunderstand).
Persistence & Privilege
Skill is not always-on and does not request special platform privileges. It does not modify other skills or system-wide agent settings. Autonomous invocation is allowed (default) but combined with the above concerns increases risk if an agent were to run enter/claim using local keys without user oversight.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install the-flip - 安装完成后,直接呼叫该 Skill 的名称或使用
/the-flip触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.8
Round-based model: 12h cooldown, permissionless flip, self-service claim
v2.1.2
Improve SKILL.md for AI agents: clear commands, API docs
v2.1.1
Fix interface components for continuous game model
v2.1.0
- Major gameplay change: Game is now continuous, allowing entries at any time instead of in rounds.
- Jackpot structure updated: Winner takes the entire pot; jackpot resets after a win.
- Entry command simplified to always use enter (not play).
- Removed claim and collect commands; claiming is now atomic and permissionless.
- Documentation and examples updated for new rules and mechanics.
v3.0.2
Clarify round flow and winner mechanics in docs
v3.0.1
Clean up docs
v3.0.0
Eliminate O(N) cranking: claim-based settlement. Winners self-serve via claim+collect. Losers check off-chain. 1M players = ~136 txs instead of 2M.
v2.0.1
Document enriched ticket API response for agents
v2.0.0
Major update: 14 flips over 7 days (was 20 flips). One flip every 12h. New API endpoints for agent queries. Odds: 1/16,384. Deployed and migrated on devnet.
v1.0.7
Add on-chain data querying guide — PDA derivation, account structures, Anchor + raw RPC examples
v1.0.6
Fix build command (--tools-version v1.52), add Strategy section
v1.1.0
On-chain round history: RoundResult PDA stores flip results, entries, jackpot, winners per round. New history command.
v1.0.5
Rewrite README and SKILL.md — play-first narrative, cleaner structure, game flow diagram
v1.0.4
README rewrite: play-first hook, growing jackpot narrative
v1.0.3
Add operate, crank-all, settle-all commands for autonomous round operation
v1.0.2
Fix README: add play command docs, add close-entries, complete command listing
v1.0.1
Add clawhub install instructions, USDC funding option for agents
v1.0.0
Initial release — on-chain pari-mutuel coin flip game on Solana devnet using USDC
元数据
常见问题
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3312 次。
如何安装 THE FLIP?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install the-flip」即可一键安装,无需额外配置。
THE FLIP 是免费的吗?
是的,THE FLIP 完全免费(开源免费),可自由下载、安装和使用。
THE FLIP 支持哪些平台?
THE FLIP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 THE FLIP?
由 maurodelazeri(@maurodelazeri)开发并维护,当前版本 v1.0.8。
推荐 Skills