Graph Node

Graph Node

Project Info

Graph Node is a protocol for building decentralized applications (dApps) quickly on Ethereum and IPFS using GraphQL.

  • Official website

  • Github

Usage

We recommend following the Official documentation for deployment. The next operation is only intended as a simple setup tutorial for reference.

Set up graph-node

For convenience reasons, we use the official docker compose for node, database, and IPFS deployment.

Create subgraph

This needs to be written by each user according to their own situation. The following projects can be used as references:

  • example-subgraph

  • graph-network-subgraph

Deploy subgraph

Package and build the written subgraph into a wasm file and deploy to the graph node. The specific commands can be found in the sample project code above.

GraphQL usage

Last updated