Skip to content

million-pieces/subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Deployment guide

Step 1: Update contract addresses

Update the contract address and network in subgraph.yaml to the correct values.

Step 2: Update the package.json

Update SUBGRAPH_NAME (e.g. millionpieces/subgraph) and ACCESS_TOKEN in ./package.json to the correct values. If you have not account on TheGraph then create it.

Step 3: Install npm packages

Run yarn install

Step 4: Codegen

Run yarn run codegen

Step 5: Deploy

Run yarn run deploy. The deployed subgraph can be found at https://thegraph.com/explorer/dashboard

About

Subgraph for monitoring and storing data, which comes from MillionPieces smart contracts ๐Ÿ”Ž

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors