● Сообщество
aelf-hzz780
⚡ Сразу
AI-bounty-skill
автор aelf-hzz780 · aelf-hzz780/AI-bounty-skill
Claude Code skill that walks you through claiming the aelf AI bounty on tDVV via RewardClaimContract — supports both EOA and Portkey CA wallets.
A narrow-purpose skill: given you already have an aelf AA/CA wallet set up (non-custodial, not an exchange address), it guides Claude through calling Claim() or ClaimByPortkeyToCa() correctly on the RewardClaimContract. It does not hold keys itself — signing stays in Portkey. Treat it as instructional glue, not a wallet.
Зачем использовать
Ключевые функции
- Step-by-step flow for both EOA and Portkey CA claim paths
- Defers all signing to Portkey — no private key or seed phrase handling
- Explicit warning against using exchange/custodial addresses
- Works on aelf tDVV sidechain only
Живое демо
Как выглядит на практике
ai-bounty-skill.replay
▶ готово
Сценарии использования
Реальные сценарии: AI-bounty-skill
Когда использовать: You were rewarded in the aelf AI bounty program and want Claude to walk the RewardClaimContract Claim() call instead of hand-rolling it.
Поток
-
Load your wallet context locally and ask the skill to lay out the call
Use the AI-bounty-skill to prepare a Claim() transaction on RewardClaimContract for my EOA. Show me the args and the signing preview before broadcast.✓ Скопировано
→ Claude enumerates contract address, method, and args — pauses for confirmation
-
Sign and broadcast via your own tool
Looks good — give me the signed tx payload to send via my local aelf CLI.✓ Скопировано
→ Payload ready, you broadcast, claim lands
Итог: Bounty claimed with a transaction hash you control, no custodial middleman.
Подводные камни
- Using an exchange deposit address as target — Use a self-custody address — exchanges don't route the reward metadata correctly
Когда использовать: Your aelf identity is a Portkey CA, not a raw EOA.
Предварительные требования
- Portkey account recovery / login prepared — Use your registered email to recover/login at portkey.finance
Поток
-
Ask Claude to assemble a ClaimByPortkeyToCa() call
Use AI-bounty-skill to prepare ClaimByPortkeyToCa() — my CA hash is <hash>. Show me what will be signed by Portkey.✓ Скопировано
→ Claude outputs the exact method and args, and tells you Portkey will prompt for signature
-
Approve in Portkey
Send it — I'll approve in Portkey.✓ Скопировано
→ Portkey prompts, you approve, tx confirmed
Итог: Bounty lands in your Portkey-managed CA address.
Подводные камни
- Mixing EOA and CA code paths — Pick the one that matches how the bounty was assigned — the skill has separate flows for a reason
Комбинации
Сочетайте с другими MCP — эффект x10
Use aelf-skills to bootstrap your dev environment and verify wallet, then AI-bounty-skill to claim
Run aelf-skills health to confirm my wallet and node are working, then use AI-bounty-skill to prepare my bounty claim.✓ Скопировано
Read your local wallet config to confirm the correct address before claiming
Read my aelf wallet config at ~/.aelf/keys/, confirm the address, then use AI-bounty-skill to prepare the Claim() call for that address.✓ Скопировано
Стоимость и лимиты
Во что обходится
- Квота API
- None — skill is prompts only
- Токенов на вызов
- <2k
- Деньги
- Free skill. You pay aelf tDVV gas on broadcast.
- Совет
- Batch any other pending actions into the same session to amortize context setup.
Безопасность
Права, секреты, радиус поражения
Хранение учётных данных: No credentials inside the skill. Private keys stay in your local aelf tool or Portkey.
Исходящий трафик: None by the skill itself. Broadcasting hits aelf tDVV RPC.
Никогда не давайте: Paste your seed phrase into the chat — the skill never asks for it
- Crypto domain — verify the contract address in the skill matches the official aelf bounty contract before signing anything.
- Do not use an exchange deposit address as the claim target.
- This skill is community-authored with modest stars; read SKILL.md end-to-end before use.
Устранение неполадок
Частые ошибки и исправления
Claim() reverts with 'not eligible'
Confirm the bounty is assigned to the exact address you're calling from, on tDVV (not mainchain).
Проверить: Check RewardClaimContract view methods for your address
Portkey prompt never appears
Make sure you're logged into Portkey in the same browser session as the tool that relays the tx.
Transaction fails with insufficient gas
Fund your tDVV address with ELF tokens for gas. Use the aelf faucet for testnet or transfer from mainchain via cross-chain bridge.
Проверить: Check balance via aelf CLI: aelf-command call -a <address> AElf.ContractNames.Token GetBalance
Альтернативы
AI-bounty-skill в сравнении
| Альтернатива | Когда использовать | Компромисс |
| Direct aelf CLI | You're comfortable hand-writing the contract call | No guidance, but no skill dependency either |