360 Secure SkillHub
360 安全技能中心

Lia Deploy Sc Mainnet

该 Skill 是 MultiversX 主网部署运维手册,按顺序执行预检、部署 nft-marketplace 与 agents-marketplace 合约、写入合约地址、校验 codeHash,并更新前端环境变量后重建页面;强调 PEM 离线、仅 owner 可 claimFees,禁止未校验即宣称上线。文件列表仅含 SKILL.md,引用的部署/验证脚本和 RUNBOOK 未包含。

分类:开发
neltud
neltud
热度 21.12
最近更新 2026-11-30 22:09:01

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add neltud/deploy-sc-mainnet
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
lia-deploy-sc-mainnet
description
Deploy nft-marketplace and agents-marketplace on MultiversX mainnet only.

Deploy SC mainnet

Preconditions

  • PEM offline, never committed
  • EGLD for gas on deployer (often LIA ops wallet)
  • Read docs/RUNBOOK_DEPLOY.md

Order

  1. ./scripts/preflight_deploy_mainnet.sh (or simulate gas)
  2. PEM=/path/mainnet.pem ./scripts/deploy_mainnet.sh with FEE_BPS=300
  3. python scripts/post_deploy_contracts.py --marketplace erd1... --agents erd1...
  4. python scripts/verify_marketplace_codehash.py → codeHash non-null
  5. Set VITE_MARKETPLACE_* / VITE_AGENTS_* / CODEHASH_OK=1
  6. Rebuild GitHub Pages
  7. Micro List/Buy with user wallet (not LIA ops)

Success

  • data/contracts.json addresses filled
  • Banner SC pending disappears after rebuild
  • claimFees only owner

Forbidden

  • Devnet deploys for production narrative
  • Claiming market live without codeHash verify