blinko
由 tolibear 提供
Git & GitHub简介
Play Blinko (on-chain Plinko) headlessly on Abstract chain.
描述
该技能的功能
Plays Blinko, a provably fair on-chain Plinko game on Abstract chain. Handles the full commit-reveal flow: API authentication, on-chain game creation, physics simulation, and settlement. Also retrieves player stats, game history, leaderboard rankings, and honey balance.
Automates a multi-step commit-reveal flow that requires coordinated API calls and on-chain transactions, which is impractical to replicate manually for each game.
何时使用
- Placing automated ETH bets on Blinko games
- Checking win/loss history for a wallet address
- Tracking honey earned from special pin hits
- Running hard mode games to trigger bonus rounds
示例工作流
User asks: Play a Blinko game with 0.002 ETH
- 1
Sign authentication message with wallet private key to obtain JWT from Blinko API
- 2
Request game seed from API and receive server signature
- 3
Submit createGame() transaction on Abstract chain with 0.002 ETH and a random salt
- 4
Send combined seeds to API to simulate ball physics and retrieve the result
- 5
Call cashOut() on-chain if win, or markGameAsLost() if loss, to settle the game
Game settled: 10 balls played through 8 rows, final payout calculated from bin multipliers and applied to wallet
前置要求
- WALLET_PRIVATE_KEY environment variable
- ETH on Abstract chain (chain ID 2741) for bets and gas fees
安装
clawhub install tolibear/blinko运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。