DEV Community

Discussion on: Next.js with Web3Modal Example

Collapse
 
afinetooth profile image
James Kessler • Edited

Hi Hunter,

Thanks for the example. I think a blog post would be great and welcomed by others who want to integrate the Web3Modal into their web3 dapps.

You do several things the main Web3Modal example & docs don't cover very clearly, like:

  • Subscribing to changes and updating page elements when they change,
  • Displaying both MetaMask & Coinbase wallet options in the modal at the same time (triggering each one separately), and
  • Putting it all in the context of a Next.js app and deploying it to Vercel.

Those features would all be helpful to different readers. Plus you add a nice structure to the project that makes it easy to add / remove parts readers require or don't.

Thanks again,
James