ποΈ Next.js + Material UI + dark mode + web3 starter template β‘
This is a starter boilerplate Ethereum dapp using Next.js and material UI with dark mode. There are many web3 template available but most of them depends of web3-react. I tried to use minimum dependencies possible.
The first things you need to do is clone repo.
To compile and deploy contract
cd deploy
npm i
npm start
Run the client on base directory
yarn install
yarn run dev
βββ contracts // All solidity files
β βββ Example.sol
βββ deploy
β βββ compile.js // compiles contracts
β βββ deploy.js // deploy and get abi and bytecode
β βββ package.json
βββ pages // All pages of nextjs
β βββ _app.js
β βββ _documesnt.js
βββ public // contains static files
β βββ img
β βββ icons
βββ src
β βββ contracts // here we store abi and bytecodes of contracts
β βββ components // react components
β βββ hooks // web and imp hooks
β βββ utils // theme and other lib files
βββ .env
βββ .gitignore
βββ package.json
βββ README.md