third web starter
- foundry-app — Foundry contracts and scripts (forge, anvil, cast)
- nextjs-app — Next.js DApp frontend
- vite-dapp — Vite + TypeScript DApp frontend
- react-native-app — React Native sample (Expo/EAS)
- NFT-Tutorial — Tutorial project with contracts and scripts
foundry-app: https://thirdweb-virid-six.vercel.app/
- Node.js and Yarn (use the same version across demos)
- Foundry (forge, anvil, cast) — see https://book.getfoundry.sh/
make -f scripts/Makefile anvilmake -f scripts/Makefile forge-build
make -f scripts/Makefile forge-testSet environment variables in your shell or a .env file (do not commit real secrets):
export RPC_URL=http://127.0.0.1:8545
export PRIVATE_KEY=<local_private_key>
make -f scripts/Makefile deploy-localNext.js DApp:
make -f scripts/Makefile dev-nextVite DApp:
make -f scripts/Makefile dev-vite- Each demo should provide a
.env.examplewith consistent names (RPC_URL, PRIVATE_KEY, etc.). - Keep heavy assets out of Git; use
.gitignoreto avoid committing logs and local caches.
- If you prefer pnpm, you can adapt the dev targets to run pnpm install/dev.
- For React Native, run lint/type-check in CI; native builds are outside the scope of this Makefile.