Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 597 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 597 Bytes

shell-subgraph

Subgraph for shell

Development

Install dependencies:

yarn

Prepare the manifest for a specific network (see ./config):

NETWORK=rinkeby yarn prepare

Generate AssemblyScript bindings from ABIs and graph schema (this does not need to be re-run for different networks, but prepare must be run at least once for the bindings to generate):

yarn codegen

Ensure you have authorized with the graph-cli:

npx graph auth --product hosted-service $YOUR_AUTH_TOKEN

Deploy the subgraph to the prepared network:

NETWORK=rinkeby yarn deploy