Closed limebell closed 4 years ago
@limebell I would like to help you with this one :)
Stumbled into some road blocks here. Apparently GraphQL API at http://52.231.65.77:5000/graphql/ is not responding. Wanted to run my own locally, but that one requires BLOCKCHAIN_STORE_PATH - can you tell me what I shall put there?
@MaxStalker Please try this dummy data: https://send.firefox.com/download/2c48e7b706539261/#A3tl2924DprWW68LhDrtoA. It's dumped from my local node.
I would really appreciate if you can bring up public graphql endpoint 🙇♂️ I've encountered several issues with running local version of explorer, unfortunately 😟
I would really appreciate if you can bring up public graphql endpoint 🙇♂️
@MaxStalker I'll launch public graphql endpoint. please wait for minutes.
I would really appreciate if you can bring up public graphql endpoint 🙇♂️
@MaxStalker I'll launch public graphql endpoint. please wait for minutes.
@MaxStalker Please try this endpoint.
Thank you @longfin! This works perfectly ^__^
After I've read through the code I have a feeling that issue is missing some critical points in description :)
After I've read through the code I have a feeling that issue is missing some critical points in description :)
- how one can check that new block was mined? Shall I setup polling and check if there are new blocks in response and then update the view? Or it's possible to setup subscriptions to specific event?
- "when the chain is swapped" - is this specific event or? How one can observe it?
@MaxStalker Sorry for late reply. Here's additional description for this issue.
At present, the easiest way to implement this would be setting up polling IMO? Or we could declare a subscription at GraphQL level, but this needs to change code on libplanet-explorer (which is a .NET project).
Roger. Next one would be - is it possible to speed up block mining? Last one was mined 4 days ago, which a bit hard to track and check that UI updates correctly :) Same for chain swap - any way to test it?
Sorry for inconvenience. Now block explorer is offline and using static blockchain file. We will gonna make it work online, server will be turned off for while 😥
Got it. I think I can mock the response to check that UI is updated properly and then will wait for news from your side ;)
Currently working on explorer, fixed some problems, still suffering on multiple issues :(
We will do our best and notify you as soon as explorer is online.
@MaxStalker Explorer is now online :)
@longfin @limebell Can you bring that GraphQL api back online? :) Can't reach it now :\
@longfin @limebell Can you bring that GraphQL api back online? :) Can't reach it now :\
@MaxStalker I restarted API backend now. please check again.
Closed by #43.
It will be great if the main block page is auto refreshed when new block is mined or the chain is swapped.