- Copy
.env.exampleas.env.local
$ cp .env.example .env.local
- Install dependencies
$ yarn
- Auto generate generate contracts types, subgraph types & queries SDK
$ yarn postinstall
- NOTE:
postinstallwill generates an sdk file inCODEGEN_OUTPUT_FILEenvironment 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