🧪 Skills
superrare-deploy
Deploy a SuperRare Sovereign ERC-721 collection on Ethereum via Bankr. Uses the official RARE factory createSovereignBatchMint path, dry-runs by default, and...
v0.1.0
Description
name: superrare-deploy description: Deploy a SuperRare Sovereign ERC-721 collection on Ethereum via Bankr. Uses the official RARE factory createSovereignBatchMint path, dry-runs by default, and records auditable deploy receipts. homepage: https://github.com/aaigotchi/superrare-deploy metadata: openclaw: requires: bins: - cast - jq - curl env: - BANKR_API_KEY primaryEnv: BANKR_API_KEY optionalEnv: - ETH_MAINNET_RPC - ETH_SEPOLIA_RPC - SUPER_RARE_DEPLOY_CONFIG_FILE - DRY_RUN - BANKR_SUBMIT_TIMEOUT_SECONDS - RECEIPT_WAIT_TIMEOUT_SECONDS - RECEIPT_POLL_INTERVAL_SECONDS
superrare-deploy
Deploy a SuperRare Sovereign ERC-721 collection through the official RARE factory using Bankr signing.
Scripts
./scripts/deploy-via-bankr.sh --name ... --symbol ... [options]- Builds calldata for
createSovereignBatchMint(string,string)orcreateSovereignBatchMint(string,string,uint256). - Defaults to dry-run unless
--broadcastis passed orDRY_RUN=0. - Submits through Bankr, waits for the onchain receipt, parses the deployed collection address from logs, and writes a JSON receipt.
- Builds calldata for
Config
Default config path:
config.jsonin this skill directory
Override with:
SUPER_RARE_DEPLOY_CONFIG_FILE=/path/to/config.json
Expected keys:
chain:mainnetorsepoliafactoryAddress(optional override)rpcUrl(optional override)descriptionPrefixdefaultMaxTokens(optional)
Defaults and safety
- Dry-run is the default. Deployment only broadcasts with
--broadcastorDRY_RUN=0. - Supported chains for RARE factory deployment are
mainnetandsepolia. - If
--max-tokensis omitted, the 2-argument factory call is used. - Successful broadcasts write receipts into
receipts/.
Bankr API key resolution
BANKR_API_KEYsystemctl --user show-environment~/.openclaw/skills/bankr/config.json~/.openclaw/workspace/skills/bankr/config.json
Quick use
cp config.example.json config.json
./scripts/deploy-via-bankr.sh \
--name "AAi Genesis" \
--symbol "AAI"
./scripts/deploy-via-bankr.sh \
--name "AAi Genesis" \
--symbol "AAI" \
--chain sepolia \
--broadcast
Timeouts
Optional environment variables:
BANKR_SUBMIT_TIMEOUT_SECONDS(default60)RECEIPT_WAIT_TIMEOUT_SECONDS(default300)RECEIPT_POLL_INTERVAL_SECONDS(default5)
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!