(Older version available here)
This monorepo should allow you to get started with a simple Greeter smart contract on your local hardhat netowrk and Polygon testnet (Mumbai) in record time with this basic react stack using
- React / Typescript (NextJS)
- ๐๏ธ Turborepo
- ๐ท Hardhat, with tests & plugings setup:
- hardhat-deploy
- hardhat-gas-reporter
- ๐ wagmi & ๐ RainbowKit !
- Tailwind CSS with DaisyUI ๐ผ !
Install dependencies
npm install
The repo consists of 2 apps ethereum (hardhat project) & your web app. Running
npm run dev
will concurrently:
- start your local chain
- compile contracts
- deploy contracts locally as described by the hardhat-deploy plugin
- start your web app on port 3000
/apps
/ethereum
/web
[...]
/packages
/types
[...]
Test your project with npm run test
.