- Create
.env
file.- Follow this procedure to generate and enter a key.
THIRDWEB_AUTH_PRIVATE_KEY=xxxx
DATABASE_URL=mysql://root:password@localhost:3306/database
- Install packages
yarn install
- Start the docker database.
docker-compose up -d
- Start
yarn dev
- DB Migration
npx prisma migrate dev --name init
- Deploy to the graph
$ graph codegen && graph buil
$ graph deploy --product hosted-service shzxcv/ethglobalproduction
- Polygon Mumbai
- Polygon Faucet