contracts/– Foundry project preconfigured withforge-stdfor Solidity development.frontend/– React + TypeScript single-page app bootstrapped with Vite and styled with Tailwind CSS.
- Node.js (v18 or newer recommended)
- npm or compatible package manager
- Foundry toolchain (forge, cast, anvil)
# Install frontend dependencies
cd frontend
npm installFoundry projects vendor dependencies via git submodules, so no additional install step is required for
contracts/ after cloning the repo.
cd frontend
npm run devThis starts the Vite development server on http://localhost:5173 with Tailwind CSS support.
Run Forge commands from the contracts/ directory, for example:
cd contracts
forge testYou can also start a local Anvil node with anvil and deploy scripts using forge script.
- Use
npm run buildinsidefrontend/to create a production-ready bundle. - Customize Tailwind design tokens in
frontend/tailwind.config.js. - Add Solidity contracts under
contracts/src/and Forge tests incontracts/test/.
MIT