You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
The Graph nodes already feature scalable GraphQL APIs, self-hosted setups, and are continually maintained by a dedicated team.
Perhaps this is an off-the-shelf solution? It turns out this is only for Ethereum chains initially, and uses web3 as its interface.
Problems and solutions
The Graph's project goal is to support any blockchain, but it currently only supports Ethereum. There is a concept of multiple datasources and in theory any WASM runtime is supported.
In order to make this system compatible with a Substrate/Joystream node, we'd need to:
Fork the main graph node
Implement a Substrate data source
(optionally) create a runtime for non-Ethereum smart contracts (which should be possible)
Make sure that the graph node serves proofs via GraphQL
Questions
How tightly coupled is the Ethereum datasource?
Are there any other implications of changing the datasource?
The text was updated successfully, but these errors were encountered:
yourheropaul
changed the title
Can we use the a modified version of the existing Graph Protocol?
Can we use the a modified version of the existing Graph Protocol node?
Aug 5, 2019
This is The Graph's version of the indexing node: https://github.com/graphprotocol/graph-cli. They also have a mapping-creator: https://github.com/graphprotocol/graph-ts and it seems like they have forked Substrate.
Advantages
The Graph nodes already feature scalable GraphQL APIs, self-hosted setups, and are continually maintained by a dedicated team.
Perhaps this is an off-the-shelf solution?It turns out this is only for Ethereum chains initially, and uses web3 as its interface.Problems and solutions
The Graph's project goal is to support any blockchain, but it currently only supports Ethereum. There is a concept of multiple datasources and in theory any WASM runtime is supported.
In order to make this system compatible with a Substrate/Joystream node, we'd need to:
Questions
The text was updated successfully, but these errors were encountered: