Deploying to Xion Mainnet
Xion Mainnet is a permissioned environment designed to host secure and community approved decentralized applications (apps). Unlike Testnet, deploying to Mainnet requires governance approval to ensure only trusted, high-quality contracts are stored on-chain.
This section will guide you through the Mainnet deployment process, including governance requirements, security best practices, and contract storage policies.
Key Differences Between Testnet & Mainnet
Deployment
Open to all (permissionless)
Requires governance approval
Contract Audits
Optional but recommended
Mandatory for approval
Security
Experimental environment
High-security environment
Real Assets
No (test tokens)
Yes (real value at stake)
Mainnet Deployment Steps
To deploy a contract on Mainnet, developers must:
Thoroughly test your contract(s) on Testnet.
Undergo a security audit to validate the contract's safety.
Create a Signaling Proposal and inform the community and encourage them to give feedback
Submit a governance proposal for community approval.
Once approved, your contract will be stored on Mainnet.
For detailed steps on deploying your Contracts to Mainnet go through the following guide:
Prerequisites
Before deploying to mainnet, ensure you have:
Thoroughly tested your contract on testnet
Conducted security audits if necessary
XION tokens in your wallet for deployment fees
The compiled
.wasmfile of your smart contract (must be identical to the version deployed and tested on testnet)
Required Governance Steps
Contract deployment on XION mainnet requires following a governance process. Here are the mandatory steps:
Create a Signaling Proposal
Post your proposal in the Mainnet Contract Deployments category on the XION forum
Announce your signaling proposal in the "XION Developer Ecosystem" Telegram channel
Wait for community feedback and respond accordingly
Submit Governance Proposal
After a 3-day waiting period from your signaling proposal
Go to staking.burnt.com/governance to submit the formal governance proposal on-chain
Announce the governance proposal in the "XION Developer Ecosystem" Telegram channel
Monitor the proposal's voting period
Submit Pull Request
Once the governance proposal passes
Follow the instructions to submit a pull request against the XION contracts repository
Complete all items in the pull request checklist
Wait for review and approval from the team
Last updated
Was this helpful?