A Sample Lottery Dapp build using NextJS and WEB3
- MetaMask Wallet
- Deployed smart contract using thirdweb
You need to use nodejs 16.x, using yarn
is recommended.
If you're using git to get this repo you should use git submodule update --init --recursive
as well
Install the dependencies using yarn install
or just yarn
.
Then you should be able to run the app with yarn start
Open http://localhost:3000 with your browser to see the result.
- Thirdweb Documentation
- Next.js Documentation
- Let's build a CRYPTO LOTTERY with NEXT.JS! (React.js, Solidity, TypeScript, TailwindCSS, thirdweb) (https://www.youtube.com/watch?v=oNlhptQmChc)