Skip to content

OpenZeppelin/defender-subgraphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Defender Subgraph toolkit

This repository is used to easily create Access Control subgraphs to use in Defender Private Networks.

Requirements

  • TheGraph account. Create one here.

Usage

  1. Copy the .env.example file into a new .env and fill the ACCESS_TOKEN variable with the one that's provided on TheGraph's dashboard.
  2. Install dependencies by running yarn.
  3. Create subgraph via TheGraph's dashboard.
  4. Open the config.json file in networks/network, and replace CHAIN and USERNAME/SUBGRAPH with the right values (USERNAME/SUBGRAPH must match the subgraph you created in the previous step).
  5. Run yarn run-all to compile and deploy the subgraph to TheGraph.

About

Access Control subgraph toolkit for Defender

Resources

Stars

Watchers

Forks

Packages

No packages published