mvx-deploy-flow
Deploy MultiversX smart contracts with pre-flight checks, verification, and post-deployment validation.
Skill by multiversx
Chalk Labs
Need help deploying mvx-deploy-flow?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/multiversx-mvx-deploy-flow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mvx-deploy-flow
What's inside
- Skill name
mvx-deploy-flow- Description
- Deploy MultiversX smart contracts with pre-flight checks, verification, and post-deployment validation. Use when deploying a new contract to devnet, testnet, or mainnet.
- License
- MIT
- Instructions
- 210 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# MultiversX Smart Contract Deployment Flow
Guide through a safe, verified deployment workflow: build, verify artifacts, deploy, validate state, and verify source on the explorer.
## Pre-Flight Checks
### Step 1: Reproducible Build
Build the contract using the Docker-based reproducible build to ensure deterministic WASM output:
```bash
sc-meta all build --locked
```
Or with Docker for reproducible builds:
```bash
mxpy contract build --image=multiversx/sdk-rust-contract-builder:v11.0.0
```
**Verification**: The `code-hash` must match between local and Docker builds.
**Artifacts to preserve**: Store `.wasm`, `.abi.json`, and `.source.json` (from `output-docker/`) in a versioned registry or commit them to the repository.
### Step 2: Verify Build Artifacts
- Read the ABI file to understand the contract interface
- Extract from the ABI:
- Constructor (`init`) parameters and their types
- All endpoints (count mutable vs readonly)
- Whether the contract is upgradeable, payable, payableBySmartContract
- Build info if present (framework version, compiler)
- Verify the WASM file exists and note its size. WASM files larger than 400KB may hit deployment gas limits.
### Step 3: Wallet Balance Check
Ensure sufficient EGLD for deployment gas:
- Typical cost: 0.1-0.5 EGLD for most contracts, up to 1+ EGLD for large contracts
- On testnet/devnet, use the faucet if balance is low
**MCP shortcut**: If a MultiversX MCP server is available (multiversx-sc-mcp or multiversx-mcp-server), use `mvx_account` to check the deployer wallet balance.
### Step 4: Review Constructor Arguments
From the ABI, list every constructor parameter:
| Parameter | Type | Description |
|-----------|------|-------------|
| ... | ... | ... |
Validate types match expectations:
- Addresses should be valid bech32 (`erd1...`)
- Token identifiers should match the pattern `[A-Z]+-[a-f0-9]+`
- Numeric values should be within reasonable ranges
- BigUint values need proper denomination handling (e.g., 1 EGLD = 1000000000000000000)
### Step 5: Gas Estimation
Estimate deployment gas based on WASM size:
- < 100KB: ~60,000,000 gas
- 100-200KB: ~100,000,000 gas
- 200-400KB: ~150,000,000 gas
- > 400KB: ~200,000,000+ gas (warn about potential issues)
### Step 6: Security Checklist (Pre-Deploy)
Before deploying, verify:
- **Payable**: `#[payable("EGLD")]` is NOT set on endpoints unless strictly required
- **Upgradeable**: Is the contract meant to be immutable? If so, remove the upgrade code metadata flag
- **Owner**: Is the deployer a multi-sig or guardian wallet? For mainnet, consider having CI generate the tx payload and letting the multi-sig sign it
- **Code metadata**: Review flags -- upgradeable, payable, readable -- match the intended security posture
## Deployment
### Step 7: Deploy the Contract
**MAINNET SAFETY**: If deploying to mainnet, STOP and confirm before proceeding:
> You are about to deploy a new contract on MAINNET. This will use real funds for gas. Do you want to proceed?
**Using mxpy**:
```bash
mxpy contract deploy \
--proxy https://gateway.multiversx.com --chain 1 \
--recall-nonce --pem wallet.pem \
--gas-limit 100000000 \
--bytecode output/contract.wasm \
--arguments [constructor_args] \
--metadata-upgradeable --metadata-readable
```
**MCP shortcut**: If a MultiversX MCP server is available (multiversx-sc-mcp or multiversx-mcp-server), use `mvx_sc_deploy` with the wasmPath, network, constructor arguments, gas limit, and code metadata flags.
Record the deployment transaction hash.
### Step 8: Verify Deployment Transaction
After the deploy transaction completes, verify:
- Transaction status is "success"
- Smart contract result contains the new contract address
- No unexpected error messages
- Gas consumed vs gas limit (was it close to the limit?)
Extract the **new contract address** from the transaction results.
**MCP shortcut**: If a MultiversX MCP server is available (multiversx-sc-mcp or multiversx-mcp-server), use `mvx_tx_result` with the deployment transaction hash.
### Step 9: Confirm Contract Exists
Verify the deployed contract:
- The contract exists at the address
- The owner matches the deployer wallet
- The code hash is populated
- Properties match expectations (upgradeable, payable, etc.)
**MCP shortcut**: If a MultiversX MCP server is available (multiversx-sc-mcp or multiversx-mcp-server), use `mvx_account` with the new contract address.
## Post-Deployment Validation
### Step 10: ABI VerificationFrom multiversx/mx-ai-skills, MIT.
More from multiversx/mx-ai-skills
- 0.544score
mvx-cross-contract-calls
multiversx
Make cross-contract calls in MultiversX smart contracts.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-debug-tx
multiversx
Debug and analyze MultiversX transactions.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-property-testing
multiversx
Use property-based testing and fuzzing to find edge cases in smart contract logic.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-payment-handling
multiversx
Handle payments in MultiversX smart contracts.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-project-architecture
multiversx
Production-grade project structure patterns for MultiversX smart contracts.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-audit-onchain
multiversx
Perform a comprehensive on-chain security audit of a deployed MultiversX smart contract.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-blockchain-data
multiversx
Read on-chain state in MultiversX smart contracts.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-cache-patterns
multiversx
Gas-optimized cache patterns for MultiversX smart contracts using Drop-based write-back caches.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-clarification-expert
multiversx
Identify ambiguous requirements and ask targeted clarifying questions for MultiversX development.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-test-contract
multiversx
Perform automated on-chain testing of a deployed MultiversX smart contract.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-constant-time
multiversx
Verify cryptographic operations execute in constant time to prevent timing attacks.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-cross-contract-storage
multiversx
Read another contract's storage directly without async calls using storage_mapper_from_address.
SkillCFreshness: C★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Jul 2, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/multiversx/mx-ai-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from multiversx
- 0.544score
mvx-payment-handling
multiversx
Handle payments in MultiversX smart contracts.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-debug-tx
multiversx
Debug and analyze MultiversX transactions.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-property-testing
multiversx
Use property-based testing and fuzzing to find edge cases in smart contract logic.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-test-contract
multiversx
Perform automated on-chain testing of a deployed MultiversX smart contract.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-project-architecture
multiversx
Production-grade project structure patterns for MultiversX smart contracts.
SkillCFreshness: C★ 12Claude Code +9 - 0.544score
mvx-audit-onchain
multiversx
Perform a comprehensive on-chain security audit of a deployed MultiversX smart contract.
SkillCFreshness: C★ 12Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get mvx-deploy-flow running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
mvx-deploy-flow skill. Agent Mart. https://agentmart.dev/skills/multiversx-mvx-deploy-flow (last updated 2026-10-24)