搜索

PythonReactSEOPDF
OpenClaw

pet-operator

Delegate Aavegotchi petting rights to AAI's wallet on Base. Generate approve/revoke tx data, check approval, and maintain delegated wallet bookkeeping in pet-me-master config.

aaigotchi0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install aaigotchi/pet-operator

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

pet-operator

Set or revoke AAI as pet operator for user wallets, and keep delegation bookkeeping aligned.

Constants

  • AAI operator wallet: 0xb96B48a6B190A9d509cE9312654F34E9770F2110
  • Aavegotchi Diamond: 0xA99c4B08201F2913Db8D28e71d020c4298F29dBF
  • Chain: Base mainnet (8453)
  • RPC default: https://mainnet.base.org

Overridable env:

  • AAVEGOTCHI_DIAMOND
  • AAI_OPERATOR
  • BASE_RPC_URL
  • PET_ME_CONFIG_FILE

Scripts

  • ./scripts/check-approval.sh <wallet>
    • Checks isPetOperatorForAll(owner, operator).
  • ./scripts/generate-delegation-tx.sh <wallet>
    • Generates call data for setPetOperatorForAll(AAI_OPERATOR, true).
  • ./scripts/generate-revoke-tx.sh <wallet>
    • Generates call data for setPetOperatorForAll(AAI_OPERATOR, false).
  • ./scripts/add-delegated-wallet.sh <wallet> [name]
    • Verifies approval, fetches owned gotchi IDs, upserts into pet-me-master config.
  • ./scripts/remove-delegated-wallet.sh <wallet>
    • Removes wallet bookkeeping entries from config.

Config Bookkeeping

add-delegated-wallet.sh writes to:

  • .delegatedWallets (preferred)
  • .wallets (legacy compatibility, only if present)

This does not grant on-chain permissions by itself; on-chain approval must already exist.

Security

  • Operator permission only enables petting, not transfer.
  • User keeps full ownership.
  • Revocation is one on-chain tx away.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/aaigotchi/pet-operator
Version
—
Commit
b79fb71e5c2fce65300e8991aedb85a2d645003e
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Pet Operator

Delegate Aavegotchi petting rights to AAI while keeping full ownership.

What It Does

This repo helps users approve AAI's operator wallet as pet operator on Base:

  • AAI operator wallet: 0xb96B48a6B190A9d509cE9312654F34E9770F2110
  • Aavegotchi Diamond: 0xA99c4B08201F2913Db8D28e71d020c4298F29dBF

Approval call:

  • setPetOperatorForAll(address operator, bool approved)

Scripts

  • scripts/check-approval.sh <wallet>
    • Returns approved / not_approved
  • scripts/generate-delegation-tx.sh <wallet>
    • Prints transaction details for approved=true
  • scripts/generate-revoke-tx.sh <wallet>
    • Prints transaction details for approved=false
  • scripts/add-delegated-wallet.sh <wallet> [name]
    • Verifies approval, fetches wallet gotchi IDs, upserts into pet-me-master config (delegatedWallets; legacy wallets if present)
  • scripts/remove-delegated-wallet.sh <wallet>
    • Removes wallet from pet-me-master config tracking arrays

Notes

  • This skill does not move NFTs or tokens.
  • Users can revoke anytime by sending the revoke transaction.
  • Pet-me-master now supports dynamic wallet/delegation discovery; config writes are mainly operational bookkeeping.

来源内容

SKILL.md
# pet-operator

Set or revoke AAI as pet operator for user wallets, and keep delegation bookkeeping aligned.

## Constants

- AAI operator wallet: `0xb96B48a6B190A9d509cE9312654F34E9770F2110`
- Aavegotchi Diamond: `0xA99c4B08201F2913Db8D28e71d020c4298F29dBF`
- Chain: Base mainnet (`8453`)
- RPC default: `https://mainnet.base.org`

Overridable env:
- `AAVEGOTCHI_DIAMOND`
- `AAI_OPERATOR`
- `BASE_RPC_URL`
- `PET_ME_CONFIG_FILE`

## Scripts

- `./scripts/check-approval.sh <wallet>`
  - Checks `isPetOperatorForAll(owner, operator)`.
- `./scripts/generate-delegation-tx.sh <wallet>`
  - Generates call data for `setPetOperatorForAll(AAI_OPERATOR, true)`.
- `./scripts/generate-revoke-tx.sh <wallet>`
  - Generates call data for `setPetOperatorForAll(AAI_OPERATOR, false)`.
- `./scripts/add-delegated-wallet.sh <wallet> [name]`
  - Verifies approval, fetches owned gotchi IDs, upserts into `pet-me-master` config.
- `./scripts/remove-delegated-wallet.sh <wallet>`
  - Removes wallet bookkeeping entries from config.

## Config Bookkeeping

`add-delegated-wallet.sh` writes to:
- `.delegatedWallets` (preferred)
- `.wallets` (legacy compatibility, only if present)

This does not grant on-chain permissions by itself; on-chain approval must already exist.

## Security

- Operator permission only enables petting, not transfer.
- User keeps full ownership.
- Revocation is one on-chain tx away.
README
# Pet Operator

Delegate Aavegotchi petting rights to AAI while keeping full ownership.

## What It Does

This repo helps users approve AAI's operator wallet as pet operator on Base:
- AAI operator wallet: `0xb96B48a6B190A9d509cE9312654F34E9770F2110`
- Aavegotchi Diamond: `0xA99c4B08201F2913Db8D28e71d020c4298F29dBF`

Approval call:
- `setPetOperatorForAll(address operator, bool approved)`

## Scripts

- `scripts/check-approval.sh <wallet>`
  - Returns `approved` / `not_approved`
- `scripts/generate-delegation-tx.sh <wallet>`
  - Prints transaction details for `approved=true`
- `scripts/generate-revoke-tx.sh <wallet>`
  - Prints transaction details for `approved=false`
- `scripts/add-delegated-wallet.sh <wallet> [name]`
  - Verifies approval, fetches wallet gotchi IDs, upserts into pet-me-master config (`delegatedWallets`; legacy `wallets` if present)
- `scripts/remove-delegated-wallet.sh <wallet>`
  - Removes wallet from pet-me-master config tracking arrays

## Notes

- This skill does not move NFTs or tokens.
- Users can revoke anytime by sending the revoke transaction.
- Pet-me-master now supports dynamic wallet/delegation discovery; config writes are mainly operational bookkeeping.

相关技能

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.