Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 1.7 KB

README.md

File metadata and controls

62 lines (39 loc) · 1.7 KB

@kleros/kleros-v2-subgraph

Deployments

Testnet

Devnet

Build

# update subgraph.yml using the contract deployment artifacts
$ yarn update:arbitrum-sepolia-devnet

$ yarn codegen

$ yarn build

Deployment to The Graph Studio

Using a personal account for development

Authentication

Get an API key from the thegraph.com, then authenticate.

$ yarn run graph auth --studio

Deployment

# bump the package version number
yarn version patch

# deploy the new version
yarn deploy:arbitrum-sepolia-devnet

# commit the new version number
git commit -m "chore: subgraph deployment"

Using the Kleros organization account

Go to the Deploy Subgraph Action and click the Run workflow button:

image

Pick the appropriate network. There should be a corresponding yarn script in the form of deploy:<network> on the master branch.

Then reach out to a maintainer and request his approval. image