v3-subgraph icon indicating copy to clipboard operation
v3-subgraph copied to clipboard

Failed to query/save blockchain data locally using graph node (postgress db)

Open MohaiminulEraj opened this issue 3 years ago • 0 comments

First I implemented the graph node to update the data source and store them in the DB that can be queried via the GraphQL endpoint (I used Infura's mainnet endpoint in my docker-compose file) After cloning from the uniswap's subgraph repo, I installed all the dependencies and ran the following commands npm run codegen npm run build npm run create-local npm run deploy-local I got messages like Upload subgraph to IPFS Build completed: QmagGaBm7FL9uQWg1bk52Eb3LTN4owkvxEKkirtyXNLQc9 Deployed to http://127.0.0.1:8000/subgraphs/name/mohaiminuleraj/uniswap-v3/graphql Subgraph endpoints: Queries (HTTP): http://127.0.0.1:8000/subgraphs/name/mohaiminuleraj/uniswap-v3 Subscriptions (WS): http://127.0.0.1:8001/subgraphs/name/mohaiminuleraj/uniswap-v3 But unfortunately, I can't seem to retrieve the blockchain data and store them in the Postgres DB (using graph-node)

MohaiminulEraj avatar Apr 10 '22 13:04 MohaiminulEraj