superrare-mint

Mint art to a SuperRare-compatible ERC-721 collection on Ethereum via Bankr. Requires an explicit mint mode so aaigotchi can clearly choose between an artist-given collection and an own-deployed SR factory collection before minting.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "superrare-mint" with this command: npx skills add aaigotchi/superrare-mint

superrare-mint

Mint aaigotchi art into a SuperRare-compatible ERC-721 contract using Bankr signing.

Required mint choice

Before any mint, aaigotchi must clearly choose and state one of these modes:

  • ownership-given
    • mint into an existing collection already owned or handed over by a SuperRare artist
    • requires --contract or config.json collectionContract
  • own-deployed
    • mint into a collection deployed through superrare-deploy
    • requires a superrare-deploy receipt, either explicit or auto-resolved

Do not broadcast a mint without an explicit contract mode.

Scripts

  • ./scripts/pin-metadata.mjs --name ... --description ... --image ... [--video ...] [--tag ...] [--attribute trait=value]
    • Uploads media to SuperRare and pins metadata.
    • Prints JSON including tokenUri and gatewayUrl.
  • ./scripts/mint-via-bankr.sh --token-uri <uri> --contract-mode ownership-given|own-deployed [--contract <address>] [--deploy-receipt <path>] [--receiver <address>] [--royalty-receiver <address>] [--chain mainnet|sepolia] [--broadcast]
    • Builds calldata for mintTo(string,address,address) or addNewToken(string).
    • Refuses to run without a clear contract mode.
    • Prints the chosen mode and collection source before any broadcast.
    • Defaults to dry-run unless --broadcast is passed or DRY_RUN=0.
    • Submits without waiting on Bankr, then polls chain directly for the receipt.
    • Writes a JSON receipt on successful broadcast.
  • ./scripts/mint-art.sh --name ... --description ... --image ... --contract-mode ownership-given|own-deployed [options]
    • End-to-end wrapper: upload metadata, then mint via Bankr.
    • Use --metadata-only to stop after pinning and print the token URI.

Config

Default config path:

  • config.json in this skill directory

Override with:

  • SUPER_RARE_CONFIG_FILE=/path/to/config.json

Expected keys:

  • chain: mainnet or sepolia
  • contractMode: ownership-given or own-deployed
  • collectionContract
  • deployReceiptFile (optional explicit path to a superrare-deploy receipt)
  • receiver
  • royaltyReceiver
  • rpcUrl
  • apiBaseUrl
  • descriptionPrefix

Defaults and safety

  • Dry-run is the default. Mint transactions only broadcast with --broadcast or DRY_RUN=0.
  • Broadcast mode uses a short Bankr submit timeout and then waits for the onchain receipt directly, which avoids hanging on long confirmation waits.
  • mint-art.sh still uploads media/metadata to SuperRare before the dry-run mint preview. Use --metadata-only if you want to stop after pinning and inspect the token URI.
  • If neither receiver nor royaltyReceiver is set, the skill calls addNewToken(string).
  • If either receiver field is provided, the skill calls mintTo(string,address,address).
  • If only one of receiver or royaltyReceiver is set, the other defaults to the same address.
  • Successful broadcasts write receipts into receipts/.

Deploy receipt auto-resolution

In own-deployed mode, the skill looks for a deploy receipt in this order:

  1. --deploy-receipt
  2. SUPER_RARE_DEPLOY_RECEIPT_FILE
  3. config.json deployReceiptFile
  4. the latest receipt in a sibling superrare-deploy/receipts/ directory

Bankr API key resolution

  1. BANKR_API_KEY
  2. systemctl --user show-environment
  3. ~/.openclaw/skills/bankr/config.json
  4. ~/.openclaw/workspace/skills/bankr/config.json
  5. ~/.bankr/config.json

Quick use

cp config.example.json config.json

./scripts/mint-via-bankr.sh \
  --token-uri ipfs://... \
  --contract-mode ownership-given \
  --contract 0xYourArtistGivenCollection \
  --broadcast

./scripts/mint-via-bankr.sh \
  --token-uri ipfs://... \
  --contract-mode own-deployed \
  --deploy-receipt ../superrare-deploy/receipts/2026-03-15T00-00-00Z-superrare-deploy.json \
  --broadcast

./scripts/mint-art.sh \
  --name "aaigotchi genesis #1" \
  --description "First aaigotchi genesis mint" \
  --image ./art.png \
  --contract-mode own-deployed \
  --broadcast

Timeouts

Optional environment variables:

  • BANKR_SUBMIT_TIMEOUT_SECONDS (default 60)
  • RECEIPT_WAIT_TIMEOUT_SECONDS (default 300)
  • RECEIPT_POLL_INTERVAL_SECONDS (default 5)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Wechat Mp Writer

WeChat Official Account (公众号) content writer with article formatting, headline optimization, and engagement tips. Use when you need to write WeChat articles,...

Registry SourceRecently Updated
General

OpenClaw EverMemory Installer

Use this skill when installing, upgrading, verifying, or publishing the EverMemory OpenClaw plugin and its companion skill, including local path install, npm...

Registry SourceRecently Updated
General

Ip Advisor

知识产权顾问。专利、版权、商业秘密、注册流程、保护策略。IP advisor for patents, copyrights, trade secrets. 知识产权、专利、版权。

Registry SourceRecently Updated
1950ckchzh
General

炒股大师模拟器

炒股大师模拟器 | 股市模拟交易练习 | A股/港股/美股投资学习 | 化身文主任/股神老徐/炒股养家/孙宇晨等各位大师学习投资思路 | 多智能体股票讨论群

Registry SourceRecently Updated