Skip to content

EugeneTeu/aave-alert

Repository files navigation

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 &

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published