π¦ ClawHub
Gotchi Pocket
by @aaigotchi
Manage Aavegotchi pocket wallets (escrow) on Base with Bankr. Use when the user wants to deposit ERC20 tokens into a gotchi pocket, withdraw ERC20 tokens fro...
TERMINAL
clawhub install gotchi-pocketπ About This Skill
name: gotchi-pocket description: Manage Aavegotchi pocket wallets (escrow) on Base with Bankr. Use when the user wants to deposit ERC20 tokens into a gotchi pocket, withdraw ERC20 tokens from a pocket, check pocket balances/ownership by gotchi ID, or issue plain-English pocket commands. homepage: https://github.com/aavegotchi/aavegotchi-agent-skills metadata: openclaw: requires: bins: - cast - jq - curl - python3 env: - BANKR_API_KEY primaryEnv: BANKR_API_KEY
Gotchi Pocket
Send and receive ERC20 tokens with Aavegotchi pockets on Base, using Bankr for signing/submission.
What this skill does
transferEscrow(...)Scripts
./scripts/pocket-info.sh [--check-bankr] ./scripts/pocket-balance.sh ./scripts/pocket-deposit.sh [--raw] ./scripts/pocket-withdraw.sh [--raw] ./scripts/pocket-command.sh [--approve-withdraw] [--dry-run] "" Natural-language command layer
Use one plain-English command and let the skill route it.
Examples:
./scripts/pocket-command.sh "send 25 GHST to gotchi 9638 pocket"
./scripts/pocket-command.sh "send 25 GHST from gotchi 9638 pocket to 0xb96b48a6b190a9d509ce9312654f34e9770f2110"
./scripts/pocket-command.sh "check pocket GHST balance for gotchi 9638"
./scripts/pocket-command.sh "show pocket info for gotchi 9638"
Preview parsing without sending tx:
./scripts/pocket-command.sh --dry-run "send 25 GHST to gotchi 9638 pocket"
Withdraw approval safety
Natural-language withdraws are blocked unless explicitly approved.
# First call returns approval_required=true and exits without sending
./scripts/pocket-command.sh "send 25 GHST from gotchi 9638 pocket to 0xb96b48a6b190a9d509ce9312654f34e9770f2110"Approved execution
./scripts/pocket-command.sh --approve-withdraw "send 25 GHST from gotchi 9638 pocket to 0xb96b48a6b190a9d509ce9312654f34e9770f2110"
Token input
Use either a token address or aliases:
GHSTFUDFOMOALPHAKEKUSDCWETHDAIStandard workflow
1. Resolve addresses:
./scripts/pocket-info.sh 9638 --check-bankr
2. Check balance before mutation:
./scripts/pocket-balance.sh 9638 GHST
3. Deposit or withdraw:
# Deposit 100 GHST to pocket
./scripts/pocket-deposit.sh 9638 GHST 100Withdraw 100 GHST from pocket to owner
./scripts/pocket-withdraw.sh 9638 GHST 0xb96b48a6b190a9d509ce9312654f34e9770f2110 100
4. Re-check balance after tx:
./scripts/pocket-balance.sh 9638 GHST
Notes
100 GHST).--raw only when the amount is already base units.SKIP_BANKR_OWNER_CHECK=1.waitForConfirmation=true and return a BaseScan URL.Contracts
0xA99c4B08201F2913Db8D28e71d020c4298F29dBF0xcD2F22236DD9Dfe2356D7C543161D4d260FD9BcBπ Tips & Best Practices
100 GHST).--raw only when the amount is already base units.SKIP_BANKR_OWNER_CHECK=1.waitForConfirmation=true and return a BaseScan URL.