Home

Awesome

Boilerplate Next web3 with TS

example: https://next-web3-boilerplate-nine.vercel.app

use yarn (not tested with npm, must work)

fill .env and change config/blockchain.config.ts to connect to another network

font imported in pages/_document.tsx :

useWeb3modal() hook return :

account -> metamask address isValidChain -> if chainid is same as your choosen chain in .env and config connectWallet -> function to connect metamask wallet disconnectWallet -> function to disconnect from siwe signInWithEth -> function to connect with siwe switchNetwork -> function add/switch network

if you want to export more it use useEthers()

Launch project

(BTW eslint and linter not done feel free to add the one you want to use with eslint and your own rules)