Skip to content

AndreMiras/bitpanda-subgraphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitpanda Subgraphs

Tests

Unofficial Bitpanda.com Subgraphs

Subgraph URLs

Install

npm ci

Build

We're using custom build commands to generate the schema.graphql and simplify the graph build.

npm run build

Deploy

VSN:

cd vsn && npx graph deploy vision-vsn

sVSN:

cd svsn && npx graph deploy vision-svsn

Development

Note that we try to keep most of the scaffolded files untouched. This make it easier to regenerate them as needed e.g. on contract update. This is why we use svsn/src/index.ts and svsn/src/snapshot.ts to extend svsn/src/s-vsn.ts and svsn/snapshot-schema.graphql to extend svsn/schema.graphql.

Tests

npm test

Or within Docker if the platform is not supported:

npm test:docker

Releases

No releases published

Packages

No packages published