Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 676 Bytes

README.md

File metadata and controls

50 lines (31 loc) · 676 Bytes

graphql base-goerli

You can install Graph CLI with either npm or yarn.

Note: You need version 0.21.0 or above

  1. INSTALL GRAPH CLI USING NPM

    npm install -g @graphprotocol/graph-cli

INIT

Initialize your subgraph.

  1. INITIALIZE SUBGRAPH

    graph init --studio safes
  2. AUTH & DEPLOY

    Authenticate within the CLI, build and deploy your subgraph to the Studio.

  3. AUTHENTICATE IN CLI

    graph auth --studio eb3738—7f5a7e
    
  4. ENTER SUBGRAPH

    cd safes
  5. BUILD SUBGRAPH

    graph codegen && graph build
  6. DEPLOY SUBGRAPH

    graph deploy --studio safes