2.6k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill aavegotchi-gbm-skill- _meta.json299 B
- SKILL.md16.3 KB
Overview
This skill lets you view, create, cancel, bid, and claim Aavegotchi GBM auctions on Base mainnet (chainId 8453). It uses a subgraph-first discovery (Goldsky) for fast reads and Foundry cast for onchain simulation and execution. Safety-first defaults simulate-only (DRY_RUN=1) and requires explicit instruction to broadcast transactions.
How this skill works
Queries the Goldsky subgraph to list and inspect auctions, then re-verifies critical fields onchain via the GBM diamond using cast call. Transaction flows (create, cancel, commitBid, swapAndCommitBid, claim, buyNow) are always simulated with cast call and only sent with cast send when DRY_RUN=0 and you explicitly request broadcast. Shell inputs are validated and private keys are never logged.
When to use it
- Scan active or seller-specific GBM auctions before taking onchain action.
- Create an auction for your ERC721/ERC1155 after confirming whitelist and approvals.
- Place GHST, USDC, or ETH-backed bids with onchain verification of highestBid.
- Cancel or claim auctions after verifying onchain status and timing.
- Perform swap+bid flows when you want to source GHST via USDC or ETH in one tx.
Best practices
- Keep DRY_RUN=1 by default; only set DRY_RUN=0 when you are ready to broadcast.
- Always confirm chain-id is 8453 and that wallet private key maps to FROM_ADDRESS before sending.
- Refetch subgraph data immediately before simulate/broadcast; then re-verify onchain highestBid and token params.
- Validate all substituted inputs (addresses: 0x + 40 hex; uints: digits only) and never eval user strings.
- Simulate every transaction with cast call from FROM_ADDRESS, then send with cast send only when explicit.
Example use cases
- List ending-soon auctions via Goldsky and inspect token details before bidding.
- Create a timed sale for an ERC721, simulating the createAuction call and then broadcasting when ready.
- Commit a GHST bid: fetch subgraph, verify onchain highestBid, simulate commitBid, then broadcast.
- Use swapAndCommitBid with USDC or ETH to atomically swap to GHST and place a bid, estimating swapAmount beforehand.
- Cancel stalled auctions or claim ended auctions after onchain verification of eligibility.
FAQ
DRY_RUN defaults to 1 which only simulates transactions via cast call; broadcasting requires DRY_RUN=0 and explicit instruction.
How do I ensure I won't lose funds to a stale highestBid?
Always refetch the onchain highestBid immediately before simulate/broadcast and pass that exact value to commitBid or swapAndCommitBid to avoid UnmatchedHighestBid reverts.