This content originally appeared on DEV Community and was authored by Hunter Chang
Hey everyone! I recently built an example website using Next.js and Web3Modal. For those of you who don't know, Web3Modal is a simple way to connect your website to a Web3 / Ethereum wallet.
This is essential when building a decentralized application (dApp) because you need a wallet to interact with the Ethereum application.
Here is the example site: http://web3modal-example.vercel.app
Here is the source code: https://github.com/ChangoMan/web3modal-example
In order for the Web3Modal to work in your browser, you'll need the MetaMask Chrome extension, or a WalletConnect compatible wallet.
I was going to create a full blog post explaining how everything worked, but wasn't sure if anyone would be interested.
If you would like a more in depth explanation of the source code, let me know in the comments down below! Thanks for looking!
This content originally appeared on DEV Community and was authored by Hunter Chang
Hunter Chang | Sciencx (2021-07-19T22:19:58+00:00) Next.js with Web3Modal Example. Retrieved from https://www.scien.cx/2021/07/19/next-js-with-web3modal-example/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.