Lia Deploy Sc Mainnet
Deploy nft-marketplace and agents-marketplace on MultiversX mainnet only.
Latest: v0.1.0
- Added a mainnet-only deployment workflow for the nft-marketplace and agents-marketplace contracts.
- Documented prerequisites, deployment order, verification steps, frontend configuration, and post-deploy checks.
- Clarified production safeguards: use a user wallet for Micro List/Buy, restrict
claimFeesto the owner, and don’t claim the market is live before codeHash verification.
Deploy SC mainnet
Preconditions
- PEM offline, never committed
- EGLD for gas on deployer (often LIA ops wallet)
- Read
docs/RUNBOOK_DEPLOY.md
Order
./scripts/preflight_deploy_mainnet.sh(or simulate gas)PEM=/path/mainnet.pem ./scripts/deploy_mainnet.shwithFEE_BPS=300python scripts/post_deploy_contracts.py --marketplace erd1... --agents erd1...python scripts/verify_marketplace_codehash.py→ codeHash non-null- Set
VITE_MARKETPLACE_*/VITE_AGENTS_*/CODEHASH_OK=1 - Rebuild GitHub Pages
- Micro List/Buy with user wallet (not LIA ops)
Success
data/contracts.jsonaddresses filled- Banner SC pending disappears after rebuild
claimFeesonly owner
Forbidden
- Devnet deploys for production narrative
- Claiming market live without codeHash verify
