6. Deployment to Production
Once satisfied with testing, you can deploy the dApp to Solana mainnet-beta. Nyvo can repeat the program deployment on mainnet (or if the program was upgradeable and you kept upgrade authority, simply upgrade it).
Ensure your wallet has enough SOL to fund the deployment (program deployments are larger transactions; expect maybe on the order of ~0.5–1 SOL for a complex program when including rent deposit). After deployment, update the front-end to point to the mainnet program ID and RPC endpoint. If Nyvo hosts the front-end, you will switch the environment to mainnet; if you manage the front-end code, build and host it on your own domain or a service (Nyvo might offer hosting or you can use platforms like Vercel, Netlify, etc.).
Finally, connect your custom domain or share the dApp URL with users. As users begin to use the dApp, monitor the application’s performance and Solana network fees. Solana’s fees are very low per transaction (usually fractions of a cent), but if your dApp gains heavy usage, ensure you have a strategy (perhaps instructing users to set a priority fee during congestion, see Fee Model below). Nyvo’s architecture will handle scale automatically, as Solana can process a large number of transactions per second and Nyvo’s programs are optimized for high throughput.
Last updated