Skip to content

PoolTogether Hyperstructure Subgraph for protocol operations data related to account prizes, balances, and vaults.

License

Notifications You must be signed in to change notification settings

GenerationSoftware/pt-v5-subgraph

Repository files navigation

PoolTogether Brand

PoolTogether Subgraph for v5

@generationsoftware/pt-v5-subgraph

PoolTogether v5 subgraph, how to deploy:

🖥️ Usage

All of the scripts for creating YAML files from templates, generating and building the code, and deploying can be found in package.json.

To deploy a subgraph, first prepare a *.yaml file for the network you would like:

yarn prepare:world (or npm run prepare:world)

This will create subgraph.world.yaml, a subgraph template file with all of the block numbers and contract addresses necessary to deploy.

If you need to change any of this, the contract addresses and block numbers can be found in the networks directory (ie. ./networks/world-mainnet.json).

Next, you will need to run the code generator, build the code, and finally deploy:

yarn gen:world
yarn build:world
yarn deploy:world

You can also use the shortcut provided to create the template, generate, build and deploy all in one:

yarn all-world:decentralized

About

PoolTogether Hyperstructure Subgraph for protocol operations data related to account prizes, balances, and vaults.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published