تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

blinko

بواسطة tolibear

Git & GitHub
935التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Sign authentication message with wallet private key to obtain JWT from Blinko API

  2. 2

    Request game seed from API and receive server signature

  3. 3

    Submit createGame() transaction on Abstract chain with 0.002 ETH and a random salt

  4. 4

    Send combined seeds to API to simulate ball physics and retrieve the result

  5. 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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط