This monorepo should allow you to get started with a simple Counter smart contract on your local anvil instance, and a dapp
- React / Typescript (NextJS)
- ποΈ Turborepo
- βοΈ Foundry, with tests & local anvil instance:
- π wagmi & π RainbowKit !
- Generated custom hooks with the wagmi-cli !
- Tailwind CSS with DaisyUI πΌ !
Recommended:
- Rivet: Developper wallet & devtool for you local developpement
yarn
Will concurrently:
- launch your anvil instance
- start your nextjs app dev server
yarn run dev
yarn run deploy:local
Will:
- Run your deploy script on your local chain
- Regenerate your custom hooks stright into your wagmi-config
/apps
# You foundry project
/contracts
# Your dapp
/web
/packages
# Contains wagmi & rainbowkit config and generated code with the wagmi-cli
/wagmi-config
# Hosting app constants
/shared-config