Building locally and testing on devnet are great ways to get started with Solana payments. However, when you're ready to deploy to Mainnet, you need to be aware of the mainnet's nuances. Devnet forgives mistakes. Mainnet doesn't. This guide covers the differences that matter to ensure your users have a smooth experience.
| Devnet | Mainnet |
|---|---|
| Free SOL from faucets | Acquire real SOL for fees |
| Low competition for block space | Priority fees matter |
| Transactions land easily | Transaction configuration is critical |
| Public RPC is fine | Production RPC required |
| Devnet keypairs and mints | Different keys and token mints—update your config |
Launch Checklist
- Prepare your program ELF file
- Prepare your program address
- Mainnet SOL acquired for fees and rent
- Production RPC configured (not public endpoint)
- Fallback RPC endpoint configured
- Priority fees implemented with dynamic pricing
- Retry logic handles blockhash expiration
- Confirmation level appropriate for use case
- All common errors handled gracefully
- Gasless configured (if applicable)
- Mainnet token addresses verified (not devnet mints)
- Recipient address validation before sending (wallet vs token account vs mint vs program)
- All keys backed up securely
- Key management reviewed (no keys in frontend)
- Transaction monitoring and alerting active
- Load tested at expected volume
Is this page helpful?