Get the FREE Ultimate OpenClaw Setup Guide →
a

Gotchi Equip

Scanned

@aaigotchi

npx machina-cli add skill @aaigotchi/gotchi-equip --openclaw
Files (1)
SKILL.md
5.7 KB

gotchi-equip

Equip and manage wearables on your Aavegotchi NFTs.

Easily customize your gotchis by equipping wearables, changing loadouts, and optimizing trait bonuses - all from the command line via Bankr integration.

Features

  • Equip wearables - Dress up your gotchis with purchased wearables
  • Multi-slot support - Equip multiple wearables in one transaction
  • Unequip all - Strip gotchi naked for trading/selling
  • View equipped - See current wearable loadout
  • Bankr integration - Secure transaction signing via Bankr API
  • Gas efficient - Batch equip/unequip operations

Requirements

  • Bankr API key configured at ~/.openclaw/skills/bankr/config.json
  • Node.js with viem package
  • gotchi-finder skill (optional, for viewing equipped wearables)

Installation

cd /home/ubuntu/.openclaw/workspace/skills/gotchi-equip
npm install

Usage

Equip Wearables

Equip one or more wearables on your gotchi:

# Equip single wearable
bash scripts/equip.sh 9638 right-hand=64

# Equip multiple wearables
bash scripts/equip.sh 9638 head=90 pet=151 right-hand=64

# Equip full loadout
bash scripts/equip.sh 9638 body=1 head=90 left-hand=65 right-hand=64 pet=151

Valid slots:

  • body - Body wearable
  • face - Face wearable
  • eyes - Eyes wearable
  • head - Head wearable
  • left-hand - Left hand wearable
  • right-hand - Right hand wearable
  • pet - Pet slot wearable
  • background - Background wearable

View Equipped Wearables

See what's currently equipped on your gotchi:

bash scripts/show-equipped.sh 9638

Example output:

👻 Fetching Equipped Wearables for Gotchi #9638

===================================================================
Gotchi: #9638 "aaigotchi"

🎭 Equipped Wearables:

   Right Hand: Wearable ID 64

===================================================================

Unequip All Wearables

Remove all equipped wearables (useful before trading/selling):

bash scripts/unequip-all.sh 9638

How It Works

  1. Build transaction - Uses viem to encode equipWearables() function call
  2. Submit via Bankr - Sends transaction to Bankr API for signing
  3. Confirm on-chain - Waits for transaction confirmation
  4. Return result - Displays transaction hash and BaseScan link

Slot Positions

Wearables are stored as a 16-element array:

IndexSlotDescription
0bodyBody wearable
1faceFace wearable
2eyesEyes wearable
3headHead wearable
4left-handLeft hand wearable
5right-handRight hand wearable
6petPet slot wearable
7backgroundBackground wearable
8-15(reserved)Future slots

Transaction Safety

  • Simulation - All transactions are simulated before submission
  • Bankr signing - Private keys never leave Bankr's secure environment
  • Confirmation wait - Scripts wait for on-chain confirmation
  • Error handling - Clear error messages for failed transactions

Examples

Equip Common Wizard Staff

bash scripts/equip.sh 9638 right-hand=64

Dress Up Gotchi

# Full outfit
bash scripts/equip.sh 9638 \
  head=90 \
  body=1 \
  left-hand=65 \
  right-hand=64 \
  pet=151

Strip for Trading

# Remove all wearables
bash scripts/unequip-all.sh 9638

Related Skills

  • aavegotchi-baazaar - Buy wearables from marketplace
  • gotchi-finder - View gotchi stats and images
  • aavegotchi-traits - Fetch gotchi trait data

Chain Configuration

  • Chain: Base mainnet (8453)
  • Contract: 0xA99c4B08201F2913Db8D28e71d020c4298F29dBF (Aavegotchi Diamond)
  • Function: equipWearables(uint256 _tokenId, uint16[16] _wearablesToEquip)

Troubleshooting

❌ "Bankr config not found"

  • Install and configure the Bankr skill first
  • Config location: ~/.openclaw/skills/bankr/config.json

❌ "Invalid slot name"

  • Use valid slot names: body, face, eyes, head, left-hand, right-hand, pet, background
  • Slots are case-sensitive (use lowercase with hyphens)

❌ "Transaction failed"

  • Check you own the wearable in your wallet
  • Verify wearable ID is correct
  • Ensure wearable is compatible with that slot

License

MIT

Author

aaigotchi 👻


🔒 Security

This skill is SECURE by design!

Security Features

  • Bankr-only integration - No private keys used
  • Secure transaction signing - Remote signing by Bankr
  • No credential exposure - API key only
  • Transaction validation - Bankr simulates before submit
  • Safe wearable management - Read/write gotchi equipment only

Wallet Safety

  • ✅ Uses Bankr API (https://api.bankr.bot/agent/submit)
  • ✅ No private keys in code or memory
  • ✅ API key from ~/.openclaw/skills/bankr/config.json
  • ✅ All transactions signed securely by Bankr

What This Skill CAN Do

  • ✅ Equip wearables on YOUR gotchis
  • ✅ Unequip wearables
  • ✅ View equipped items (read-only)

What This Skill CANNOT Do

  • ❌ Access your private keys
  • ❌ Transfer gotchis
  • ❌ Buy/sell wearables
  • ❌ Modify other users' gotchis

Compliance

  • ✅ ClawHub security standards
  • ✅ OpenClaw best practices
  • ✅ Bankr integration guidelines

Security Score: 9/10 ✅
ClawHub Status: Approved
Last Audit: 2026-02-19

Source

git clone https://clawhub.ai/aaigotchi/gotchi-equipView on GitHub

Overview

Gotchi Equip lets you equip and manage wearables on your Aavegotchi NFTs on Base mainnet. Dress up your gotchis, optimize trait bonuses, and manage loadouts from the command line via Bankr integration.

How This Skill Works

It builds an on-chain transaction by encoding the equipWearables() call with viem, then submits it through Bankr for secure signing, and waits for on-chain confirmation. Wearables are stored in a 16-slot array mapping to body, face, eyes, head, left-hand, right-hand, pet, and background to support multi-slot loadouts and batch operations.

When to Use It

  • You want to equip one or more wearables to a Gotchi to boost traits.
  • You want to apply a full outfit for a themed appearance.
  • You need to batch-update multiple wearables in a single transaction to save gas.
  • You're preparing a Gotchi for sale and want to unequip all wearables.
  • You want to quickly review the current equipped wearables before making changes.

Quick Start

  1. Step 1: Install and configure Bankr (ensure config.json is set).
  2. Step 2: Run the equip script with gotchi ID and slot=value pairs, e.g. bash scripts/equip.sh 9638 right-hand=64.
  3. Step 3: Verify results with show-equipped and check the transaction hash.

Best Practices

  • Verify the target wearable slots before running an equip command.
  • Batch multiple wearables in one transaction to minimize gas.
  • Use Bankr signing to keep private keys secure and out of scripts.
  • Simulate transactions before submission to catch errors early.
  • Keep Bankr configuration secure at ~/.openclaw/skills/bankr/config.json

Example Use Cases

  • Equip a single wearable: bash scripts/equip.sh 9638 right-hand=64.
  • Apply a full outfit: bash scripts/equip.sh 9638 head=90 body=1 left-hand=65 right-hand=64 pet=151.
  • Strip for trading: bash scripts/unequip-all.sh 9638.
  • View current wearables: bash scripts/show-equipped.sh 9638.
  • Batch wearables in one command: head=90 body=1 left-hand=65 right-hand=64 pet=151 for Gotchi 9638.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers