Developers Forum for XinFin XDC Network

Discussion on: THE GRAPH

Collapse
vishrut_srivastava_1ec5cb profile image
Vishrut Srivastava

Please check now and let us know.

Thread Thread
pro100skm profile image
Mr. Popovich Author

No, doesn't work. At least returns empty data.

Thread Thread
pro100skm profile image
Mr. Popovich Author

This is libs that I use for compile and build subgraph. Are they ok?

"@graphprotocol/graph-cli": "^0.21.0",
"@graphprotocol/graph-ts": "^0.20.0",
"@openzeppelin/contracts": "^4.6.0",
"@openzeppelin/subgraphs": "^0.1.7-1"

Thread Thread
ncode profile image
ncode

@pro100skm Can you try redeploying it? I have deployed a subgraph on mainnet to query the ERC721 which seems to work fine.

graph-node.yodaplus.net:8000/subgr...

I have used this repo to deploy it.
github.com/wighawag/eip721-subgraph

Thread Thread
vishrut_srivastava_1ec5cb profile image
Vishrut Srivastava

Which subgraph are you using? Do you have the github link?

Thread Thread
pro100skm profile image
Mr. Popovich Author
Thread Thread
ncode profile image
ncode

@pro100skm Getting some compilation erros
xdc.dev/uploads/articles/qx5bp3it3...

Thread Thread
pro100skm profile image
Mr. Popovich Author
Thread Thread
ncode profile image
ncode

@pro100skm I did this deployment on Apothem , I did it twice
First time : I did it from the latest block count , but it only indexed one / two records.
Second time: 35252497 This block count, It's now indexing data when checked after certain intervals.
Deployment : graph-node-apothem.yodaplus.net:80...

Thread Thread
pro100skm profile image
Mr. Popovich Author

apothem is great, but we have a problem with mainnet graphql