Skip to content

DyadStablecoin/subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dyad Subgraph

Setup

To generate types based on ABI for use in mappings, build subgraph schema, and deploy to hosted service, run:

npm install -g @graphprotocol/graph-cli
npm install -g yarn
yarn install

# generate bindings based on ABI and schema
graph codegen
# generate files for clients
graph build

If you make contract changes, like to emit a new event, cd into the contracts directory, rebuild the ABIs with forge build, and copy them into the abis/ directory in this repository.

Deploy

# deploy to the graph hosted service
graph auth --product hosted-service <your_key> # authenticated through cli
graph deploy --product hosted-service 0xtarc/dyad-subgraph-goerli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published