Git Product home page Git Product logo

zora-creator-subgraph's Introduction

Zora Creator Subgraph

This subgraph indexes all Zora creator contracts (both 721 and 1155) along with creator rewards.

Main entities can be found in schema.graphql.

To add new chains, new configuration files can be added to the config/ folder. The config chain name needs to match the network name in the graph indexer instance used.

This subgraph uses metadata IPFS indexing and subgraph optional features.

Installation

The graph docs: https://thegraph.academy/developers/subgraph-development-guide/

After git clone run yarn to install dependencies.

Steps to build:

NETWORK=zora yarn run build

NETWORK needs to be a name of a valid network configuration file in config/.

After building, you can use the graph cli or goldsky cli to deploy the built subgraph for the network specified above.

Deployment shortcuts

Only supports goldsky deploys for now:

Grafts subgraph from FROM_VERSION:

./scripts/multideploy.sh NEW_VERSION NETWORKS FROM_VERSION

./scripts/multideploy.sh 1.10.0 zora-testnet,optimism-goerli,base-goerli 1.8.0

Deploys without grafting:

./scripts/multideploy.sh NEW_VERSION NETWORKS

./scripts/multideploy.sh 1.10.0 zora-testnet,optimism-goerli,base-goerli

Deploys a new version for all networks without grafting: (not typical, indexing takes a long time in many cases.)

./scripts/multideploy.sh NEW_VERSION

zora-creator-subgraph's People

Contributors

iainnash avatar isabellasmallcombe avatar kulkarohan avatar vphung24 avatar kolber avatar oveddan avatar omahs avatar

Stargazers

Michael Demarais avatar

Watchers

jling avatar Michael Demarais avatar Tyson Battistella avatar  avatar  avatar

Forkers

omahs

zora-creator-subgraph's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.