/web3-starter

Primary LanguageTypeScript

Dependencies

The React Framework for the Web

npx create-next-app@latest --typescript

UI library with Next.js framework

npx create-next-app -e https://github.com/shadcn/next-template

A utility-first CSS framework

npm install -D tailwindcss

tRPC is a solution that allows for the creation and consumption of TypeScript-enabled typesafe APIs.

npm install @trpc/server @trpc/client

TypeScript-first schema validation with static type inference

npm install zod

TypeScript ORM

npm install prisma --save-dev

React Hooks for Ethereum https://wagmi.sh

npm i wagmi ethers@^5

How to use

  1. Clone the latest code from Github
  2. Copy env.example to .env.local
  3. Edit .env.local
  4. Run the command npm install
  5. Run the command npx prisma db pusb to initialize the database
  6. Run the command npx prisma generate
  7. Run the command npm run dev