Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 617 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 617 Bytes

aave-alert

Delete webhook

curl -F "url=" https://api.telegram.org/bot<YOUR_TOKEN>/setWebhook

Download schema from aave graphql endpoint

yarn run apollo schema:download --endpoint=https://api.thegraph.com/subgraphs/name/aave/aave-v2-matic graphql-schema.json

Generate local types

 yarn run apollo codegen:generate --localSchemaFile=graphql-schema.json --target=typescript --includes=src/**/*.ts --tagName=gql --addTypename --globalTypesFile=src/types/graphql-global-types.ts types  

Run on compute engine instance

nohup yarn run start > /dev/null 2>&1 &