👻
简介
自动化批量照料 Aavegotchi NFT,集成 Bankr 实现链上交互、冷却检测与 Telegram 提醒,适合 GameFi 玩家自动赚取收益。
原始描述
Batch-pet Aavegotchis on Base via Bankr with cooldown checks, reminder automation, and natural-language routing.
中文使用说明 来自收录源
核心功能
Pet Me Master 是一款专为 Aavegotchi 设计的自动化管理工具,运行于 Base 网络。其核心功能围绕"批量 pet"机制展开:通过监听链上 lastInteracted 时间戳,智能判断每个 Gotchi 是否处于 12 小时 1 分钟的冷却窗口外,随后通过 Bankr API 批量提交 interact(uint256[]) 交易,实现一键照料多个 NFT。
显著优点
- 自动化程度高:支持发现自有 Gotchi 与借入(delegated)Gotchi,无需手动维护清单
- 智能冷却管理:内置 43260 秒冷却阈值计算,避免无效交易浪费 Gas
- 多渠道提醒:集成 Telegram 推送,支持"全部可 pet 时提醒"与超时自动执行的双保险机制
- 自然语言入口:
pet-command.sh支持口语化指令如 "pet my gotchis",降低使用门槛 - Bankr 深度集成:直接调用 Bankr API 发交易,无需本地私钥管理,提升安全性
潜在局限与风险
- 依赖第三方 API:Bankr 服务可用性与密钥安全直接影响功能;API 限流或变更可能导致失败
- 单一网络限制:仅支持 Base 主网(chainId 8453),以太坊主网或其他 L2 不可用
- 脚本环境依赖:需要本地安装
cast(Foundry)、jq、curl、python3,Windows 原生支持存疑 - 经济模型风险:Aavegotchi 游戏机制变更、$GHST 代币价格波动可能影响 pet 收益预期
- Telegram 配置门槛:需自行获取 chat_id,对非技术用户不够友好
适合人群
- 持有多个 Aavegotchi 的 GameFi 玩家,希望减少手动操作频率
- 使用 Bankr 钱包基础设施的自动化交易者
- 熟悉命令行、具备基础 Linux/Shell 操作能力的用户
常规风险提示
- 私钥管理:虽通过 Bankr 代理交易,但仍需确保
BANKR_API_KEY不泄露,建议配合 systemd 或专用 secrets 管理工具 - RPC 稳定性:依赖用户配置的 Base RPC 端点,建议使用 Alchemy/QuickNode 等商业节点避免速率限制
- 智能合约风险:目标合约地址固定为
0xA99c4B08201F2913Db8D28e71d020c4298F29dBF,需自行验证合约安全性与升级情况
技能正文
name: pet-me-master description: Batch-pet Aavegotchis on Base via Bankr with cooldown checks, reminder automation, and natural-language routing. homepage: https://github.com/aaigotchi/pet-me-master metadata: openclaw: requires: bins: - cast - jq - curl - python3 env: - BANKR_API_KEY
Pet Me Master
Batch-only pet flow for Aavegotchis:
- Discovers gotchis owned by your agent wallet
- Adds gotchis delegated (lent) to your wallet from the Base core subgraph
- Checks cooldown on-chain (
lastInteracted) - Sends one
interact(uint256[])tx through Bankr for all ready gotchis - Sends reminder and fallback auto-pet if no reply
Config
Create ~/.openclaw/workspace/skills/pet-me-master/config.json:
{
"contractAddress": "0xA99c4B08201F2913Db8D28e71d020c4298F29dBF",
"rpcUrl": "https://mainnet.base.org",
"chainId": 8453,
"walletAddress": "0xYourAgentWallet",
"dailyReminder": true,
"fallbackDelayHours": 1,
"reminder": {
"enabled": true,
"telegramChatId": "YOUR_CHAT_ID",
"fallbackDelayHours": 1
}
}
Wallet resolution order:
PET_ME_WALLET_ADDRESS/BANKR_WALLET_ADDRESSconfig.walletAddress/config.wallet- Bankr prompt:
What is my Base wallet address?
Reminder chat resolution order:
PET_ME_TELEGRAM_CHAT_IDTELEGRAM_CHAT_IDconfig.reminder.telegramChatId(orconfig.telegramChatId)
Bankr Auth
This skill submits transactions directly to Bankr API and resolves API key from:
BANKR_API_KEYenvsystemctl --userexported environment~/.openclaw/skills/bankr/config.json(apiKey)~/.openclaw/workspace/skills/bankr/config.json(apiKey)
Scripts
./scripts/check-cooldown.sh [gotchi-id]./scripts/pet-all.sh [--dry-run]- Discover owned + delegated gotchis, then batch-pet ready ones
./scripts/pet.sh [--dry-run]- Batch-only wrapper to
pet-all.sh
- Batch-only wrapper to
./scripts/pet-status.sh- Shows status for discovered owned + delegated gotchis
./scripts/check-status.sh- Wrapper for
pet-status.sh
- Wrapper for
./scripts/pet-command.sh [--dry-run] [--tx-dry-run] "<natural-language command>"- Any pet action routes to batch mode
./scripts/check-and-remind.sh./scripts/auto-pet-fallback.sh./scripts/auto-pet-at-cooldown.sh- Waits until all discovered owned+delegated gotchis are ready (re-check loop for desync), then runs batch pet and sends Telegram with total count + petted IDs
./scripts/schedule-dynamic-check.sh
Natural-Language Routing
Examples:
./scripts/pet-command.sh "pet my gotchis"
./scripts/pet-command.sh "pet all my gotchis"
./scripts/pet-command.sh "pet status"
./scripts/pet-command.sh "check cooldown for gotchi 9638"
Operational Notes
- Cooldown threshold is
43260seconds (12h + 1m). - Reminder trigger is when all discovered gotchis are ready.
- If no user action, fallback runs after configured delay (default 1 hour).
- Fallback and manual pet both use batch flow.
Troubleshooting
Could not resolve agent wallet address- Set
PET_ME_WALLET_ADDRESSorconfig.walletAddress.
- Set
BANKR_API_KEY is missing- Export
BANKR_API_KEYor configure Bankr skill API key.
- Export
Telegram chat ID missing- Set
PET_ME_TELEGRAM_CHAT_IDorconfig.reminder.telegramChatId.
- Set
- Cooldown checks fail
- Verify
rpcUrl, contract address, and Base RPC connectivity.
- Verify
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
其他来源收录
同一技能在不同目录的原始页面: