Hosting Options

As we have described the sample dApp in this guide, we have only run the frontend project on a local development server. That is more than sufficient to get an full understanding of what it means to develop a dApp including the Solidity contracts and a frontend.

However, in a production scenario you will want to deploy your dApp frontend to a production hosting environment. There are several options available to you including Vercel. Which hosting environment you use will determine how environment variables are managed. This may in turn require some changes to your dApp's code to consume those environment variables. You should refer to the documentation of your selected hosting service.

Above all else, when developing dApps you should have security at the front of mind. That is, both yours and your users. Proper key management, and use of sensitive in environment variables should be carefully considered. There is no substitute for good security practice in Web3.

Last updated