Questions tagged [thegraph.com]

5 questions
1
vote
0 answers

SubQuery vs TheGraph for blockchain data

Within Ethereum blockchain ecosystem TheGraph https://thegraph.com/ became almost standard solution to build GraphQL access to blockchain data (indexed in PostgreSQL) SubQuery https://www.subquery.network/ does the same but for Polkadot chain. What…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
1
vote
3 answers

thegraph.com How to update data source programmatically to track new contract?

Based on the doc, it seems that we need to specify the address of the contract we want to track. How could I track the new contract? eg. After deploying a factory contract, we also need to track all the new contract created by the…
noooooooob
  • 1,872
  • 3
  • 21
  • 27
0
votes
1 answer

Subgraph on hosted service issue with selecting based on an ethereum address

I have created the schema for my subgraph inside the .graphql file, here is a sample: ` type Post @entity { id: ID! title: String! # string body: String! # string createdAt: BigInt! # uint256 groupID: BigInt! # uint256 } type User…
0
votes
2 answers

Index future generated contracts using TheGraph

I have an ethereum contract that is called: tokenFactory.sol This contract generates ERC20 tokens as it goes along, and when it does it emits and event that has the generated ERC20 address. I would like to go and then index the Transfer event of…
blockbyblock
  • 115
  • 5
0
votes
2 answers

How to run the graph-node in the rinkeby test rpc

I am trying to write a subgraph for the contract which is deployed in the rinkeby test network. for that I need to run the graph-node in the same rinkeby test network. With the reference of the below…
Suganth G
  • 5,136
  • 3
  • 25
  • 44