MainNet Considerations
Overview
Before deploying to MainNet:
- Test thoroughly on TestNet. Deploy the exact same artifacts and run all your test scenarios.
- Audit the manifest permissions. Ensure no wildcard permissions remain unless explicitly justified.
- Review the contract hash. Use
--deployerto predict the hash and verify it matches your expectations. - Check GAS costs. MainNet GAS is real value. Estimate deployment and invocation costs on TestNet first.
- Plan for upgrades. If your contract needs to be upgradeable, ensure the update mechanism is tested.
- Run the production gate.
make production-gatevalidates the entire toolchain.
See Production Readiness for the complete pre-deployment checklist.
