Deploy your production dApp to Stacks mainnet.
Mainnet deployments are permanent and costly. Test thoroughly on testnet first.
Contents
Requirements
Security checklist
Configure mainnet settings
Add your mainnet mnemonic to Mainnet.toml:
Deploy to mainnet
Review fees and contract list first:
Monitor deployment on Stacks Explorer.
Start production frontend
Post-deployment
- Update frontend with mainnet addresses
- Monitor contract interactions
- Plan for future upgrades
Emergency procedures
If issues arise:
- Pause contract functions (if implemented)
- Assess impact
- Deploy fixes as new contract versions
- Communicate with users
Costs
- Deployment: ~0.1-1 STX per contract
- Function calls: variable based on complexity
- Storage: paid by contract owner initially
Monitor fees on Stacks Explorer.