Contents
- Requirements
- Security checklist
- Configure mainnet settings
- SIP token mainnet requirements
- Deploy to mainnet
- Start production frontend
- Post-deployment
- Emergency procedures
- Costs
Requirements
Security checklist
- Comprehensive testnet testing completed
- All contracts audited (recommended)
- Emergency functions implemented
- Upgrade mechanisms planned
- Sufficient STX for fees
- Real mnemonics never committed to git (pre-commit hook enabled)
Configure mainnet settings
Add your mainnet mnemonic toMainnet.toml:
SIP token mainnet requirements
For SIP-010 and SIP-009 tokens created withstacksdapp add --template sip010|sip009, uncomment the (impl-trait …) line in the contract before mainnet deploy:
Templates ship without
impl-trait so testnet deploy succeeds. Mainnet requires it for wallet listing.
Deploy to mainnet
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