This is a RainbowKit + wagmi + Next.js project bootstrapped with create-rainbowkit.
First, run the development server:
npm run devGet the ip address by running ipconfig in cmd then get the ip address
and 192.168.86.1:3000
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.
If you run into this error wagmi Unhandled Runtime Error SyntaxError: Unexpected end of input Call Stack ./node_modules/wagmi/dist/index.js
Run these commands
npm cache clean --force
npm install
npm run dev
If you have drama with typescript types just put this at the top of the file
// @ts-ignore
// This file intentionally ignores type-checking for various reasons
To learn more about this stack, take a look at the following resources:
- RainbowKit Documentation - Learn how to customize your wallet connection flow.
- wagmi Documentation - Learn how to interact with Ethereum.
- Next.js Documentation - Learn how to build a Next.js application.
You can check out the RainbowKit GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.