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 — любой кодинг-агент, которым пользуетесь.