Slightly Opinionated Next.js Web3 Boilerplate.
- Click use this template or deploy with Vercel above.
- Install dependencies.
cd wagmi-start
npm i
- Change
.env.example
to.env
file and fill in the required fields. Refer to https://chainlist.org/ for the appropriate chain ID that matches the network contract is deployed at.
INFURA_ID=<PROJECT_ID>
ALCHEMY_ID=<PROJECT_ID>
CHAIN_ID=<CHAIN_ID>
CONTRACT_ADDRESS=<DEPLOYED_CONTRACT ADDRESS>