← 返回
效率工具 Key 中文

Gotchi Pocket

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...
在Base上使用Bankr管理Aavegotchi口袋钱包(托管)。当用户想要将ERC20代币存入gotchi口袋或从中提取ERC20代币时使用。
aaigotchi
效率工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 523
下载
💾 11
安装
1
版本
#latest

概述

Gotchi Pocket

Send and receive ERC20 tokens with Aavegotchi pockets on Base, using Bankr for signing/submission.

What this skill does

  • Resolve gotchi owner + pocket address from gotchi ID
  • Check owner and pocket token balances
  • Deposit ERC20 tokens from owner wallet into pocket
  • Withdraw ERC20 tokens from pocket with transferEscrow(...)
  • Enforce owner-control check against active Bankr wallet (default)
  • Parse plain-English commands and dispatch to scripts automatically
  • Require explicit approval for natural-language withdraw intents

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:

  • GHST
  • FUD
  • FOMO
  • ALPHA
  • KEK
  • USDC
  • WETH
  • DAI

Standard workflow

  1. Resolve addresses:
./scripts/pocket-info.sh 9638 --check-bankr
  1. Check balance before mutation:
./scripts/pocket-balance.sh 9638 GHST
  1. Deposit or withdraw:
# Deposit 100 GHST to pocket
./scripts/pocket-deposit.sh 9638 GHST 100

# Withdraw 100 GHST from pocket to owner
./scripts/pocket-withdraw.sh 9638 GHST 0xb96b48a6b190a9d509ce9312654f34e9770f2110 100
  1. Re-check balance after tx:
./scripts/pocket-balance.sh 9638 GHST

Notes

  • Amounts are token units by default (for example 100 GHST).
  • Use --raw only when the amount is already base units.
  • Owner check is on by default and can be skipped with SKIP_BANKR_OWNER_CHECK=1.
  • All txs use waitForConfirmation=true and return a BaseScan URL.

Contracts

  • Aavegotchi Diamond (Base): 0xA99c4B08201F2913Db8D28e71d020c4298F29dBF
  • GHST (Base): 0xcD2F22236DD9Dfe2356D7C543161D4d260FD9BcB

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 19:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,063
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,066
content-creation

Gotchi Finder

aaigotchi
从 Base 主网按 ID 获取 Aavegotchi 并显示完整特征图片;展示链上 SVG 并转为 PNG,同时呈现完整的 gotchi 数据。
★ 0 📥 998