My ideal monorepo setup for working with fullstack web3 development. Can be used for quick prototyping or built on top on for production ready projects.
ethers
wagmi
hardhat
next.js
typechain
- built on top of wagmi (❤️) with recognisable api
- write and read hooks are typesafe
- sync deployments to frontend so you dont manually have to update addresses
- no theming or css
web
: another Next.js appsmart-contracts
: smart contracts with hardhatweb3-config
: deployments, generated types from contract and common web3 configui
: a stub React component library shared by bothweb
anddocs
applicationsconfig
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Install dependencies by running yarn
To run local development run:
yarn dev
To build all apps and packages, run the following command:
yarn build