Mint art to a SuperRare-compatible ERC-721 collection on Ethereum or Base 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.
Mint aaigotchi art into a SuperRare-compatible ERC-721 contract using Bankr signing.
Before any mint, aaigotchi must clearly choose and state one of these modes:
ownership-given
--contract or config.json collectionContractown-deployed
superrare-deploysuperrare-deploy receipt, either explicit or auto-resolvedDo not broadcast a mint without an explicit contract mode.
./scripts/pin-metadata.mjs --name ... --description ... --image ... [--video ...] [--tag ...] [--attribute trait=value]
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|base|base-sepolia] [--broadcast]
mintTo(string,address,address) or addNewToken(string).own-deployed receipt matches the selected chain.--broadcast is passed or DRY_RUN=0../scripts/mint-art.sh --name ... --description ... --image ... --contract-mode ownership-given|own-deployed [options]
--metadata-only to stop after pinning and print the token URI.Default config path:
config.json in this skill directoryOverride with:
SUPER_RARE_CONFIG_FILE=/path/to/config.jsonExpected keys:
chain: mainnet, sepolia, base, or base-sepoliacontractMode: ownership-given or own-deployedcollectionContractdeployReceiptFile (optional explicit path to a superrare-deploy receipt)receiverroyaltyReceiverrpcUrlapiBaseUrldescriptionPrefix--broadcast or DRY_RUN=0.mainnet, sepolia, base, and base-sepolia.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.receiver nor royaltyReceiver is set, the skill calls addNewToken(string).mintTo(string,address,address).receiver or royaltyReceiver is set, the other defaults to the same address.receipts/.In own-deployed mode, the skill looks for a deploy receipt in this order:
--deploy-receiptSUPER_RARE_DEPLOY_RECEIPT_FILEconfig.json deployReceiptFilesuperrare-deploy/receipts/ directoryThe resolved deploy receipt must match the selected mint chain.
BANKR_API_KEYsystemctl --user show-environment~/.openclaw/skills/bankr/config.json~/.openclaw/workspace/skills/bankr/config.json~/.bankr/config.jsoncp 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 \
--chain base \
--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 \
--chain base \
--broadcast
Optional environment variables:
BANKR_SUBMIT_TIMEOUT_SECONDS (default 60)RECEIPT_WAIT_TIMEOUT_SECONDS (default 300)RECEIPT_POLL_INTERVAL_SECONDS (default 5)