superrare-deploy

👤 aaigotchi 📦 v0.2.0 ⭐ 4.4 ⬇️ 883 下载
💻 开发编程 免费 🔑 需 API Key

📖 技能介绍


name: superrare-deploy description: Deploy a SuperRare Sovereign ERC-721 collection on Ethereum or Base 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 - BASE_MAINNET_RPC - BASE_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) or createSovereignBatchMint(string,string,uint256).
  • Defaults to dry-run unless --broadcast is passed or DRY_RUN=0.
  • Submits through Bankr, waits for the onchain receipt, parses the deployed collection address from logs, and writes a JSON receipt.

Config

Default config path: - config.json in this skill directory

Override with: - SUPER_RARE_DEPLOY_CONFIG_FILE=/path/to/config.json

Expected keys: - chain: mainnet, sepolia, base, or base-sepolia - factoryAddress (optional override) - rpcUrl (optional override) - descriptionPrefix - defaultMaxTokens (optional)

Defaults and safety

  • Dry-run is the default. Deployment only broadcasts with --broadcast or DRY_RUN=0.
  • Supported chains for RARE factory deployment are mainnet, sepolia, base, and base-sepolia.
  • If --max-tokens is omitted, the 2-argument factory call is used.

    更多技能请访问小葱技能站7w4.net。

  • Successful broadcasts write receipts into receipts/.

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

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 Base Genesis" \
  --symbol "AAI" \
  --chain base \
  --broadcast

Timeouts

Optional environment variables: - BANKR_SUBMIT_TIMEOUT_SECONDS (default 60) - RECEIPT_WAIT_TIMEOUT_SECONDS (default 300) - RECEIPT_POLL_INTERVAL_SECONDS (default 5)

🤖 AI 评测

这是一个功能完整、质量可靠的部署工具。它能安全地在以太坊或 Base 链上部署 SuperRare 收藏集,默认只预览不实际部署,避免误操作。文档清晰,配置灵活,多网络支持完善,部署成功后会保存可追溯的记录。不足是缺少自动化测试,部分细节如错误提示和日志输出还有优化空间。总体适合需要频繁部署收藏集的用户使用。

📊 多维度评分

适应性4.8
规范性4.2
有效性4.7
可靠性4.5
可信度4

📁 包含文件 (6 个)

📄 SKILL.md 2.5 KB
📄 _meta.json 135 B
📄 clawhub.json 221 B
📄 config.example.json 148 B
📄 scripts/deploy-via-bankr.sh 6 KB
📄 scripts/lib.sh 5.5 KB