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...
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 230 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the included scripts and required binaries. cast and jq are appropriate for on-chain calls and JSON manipulation; the scripts perform the described tasks (generate calldata, call contract read methods, and update a pet-me config).
Instruction Scope
SKILL.md and scripts stay within the stated scope (on-chain reads via RPC, produce calldata, and update the pet-me-master config). The scripts read and overwrite a user-specified config file (PET_ME_CONFIG_FILE) and create backups; this is expected for bookkeeping but means the skill will modify files at the configured path.
Install Mechanism
Instruction-only skill with no install spec and no external downloads. All code is bundled in the repo; nothing pulls arbitrary code from external URLs at install time.
Credentials
No credentials or secret env vars are requested. The scripts use an RPC URL (default https://mainnet.base.org) and rely on cast for read calls or user-signed transactions. One caution: PET_ME_CONFIG_FILE is overridable and the scripts will write to that path — ensure it is set to the intended pet-me config so the skill cannot accidentally overwrite unrelated files.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges. It only writes to its own target config file(s) (delegatedWallets / wallets) and does not alter other skills or system-wide agent settings.
Assessment
This package appears to do what it claims: generate hex calldata, check approval on-chain, and update a pet-me config. Before installing or running: 1) Confirm you have cast and jq from trusted sources; 2) Verify PET_ME_CONFIG_FILE is pointed at the correct pet-me-master config (not an unrelated/privileged file) so the scripts don't overwrite unintended data; 3) Understand the scripts only produce calldata and perform read-only on-chain calls — they do not sign or transmit transactions for you (you must sign/send the generated hex yourself); 4) Review the default RPC endpoint and change it if you prefer a different provider; and 5) If you're unsure, run the check-approval and generate-* scripts with a non-critical wallet first to validate behavior.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.2.0
Download zipaavegotchibasedelegationlatestnft
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
Binscast, jq
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_DIAMONDAAI_OPERATORBASE_RPC_URLPET_ME_CONFIG_FILE
Scripts
./scripts/check-approval.sh <wallet>- Checks
isPetOperatorForAll(owner, operator).
- Checks
./scripts/generate-delegation-tx.sh <wallet>- Generates call data for
setPetOperatorForAll(AAI_OPERATOR, true).
- Generates call data for
./scripts/generate-revoke-tx.sh <wallet>- Generates call data for
setPetOperatorForAll(AAI_OPERATOR, false).
- Generates call data for
./scripts/add-delegated-wallet.sh <wallet> [name]- Verifies approval, fetches owned gotchi IDs, upserts into
pet-me-masterconfig.
- Verifies approval, fetches owned gotchi IDs, upserts into
./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.
Files
10 totalSelect a file
Select a file to preview.
Comments
Loading comments…
