- Copy
.env.example
as.env.local
$ cp .env.example .env.local
- Install dependencies
$ yarn
- Auto generate generate contracts types, subgraph types & queries SDK
$ yarn postinstall
- NOTE:
postinstall
will generates an sdk file inCODEGEN_OUTPUT_FILE
environment variable (default value:types/generated/queries.ts
) with all queries uses in the App.
- Run application as dev mode
$ yarn dev
- Open
http://localhost:3000