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