Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Block Explorer in Dev env #108

Closed
peterbroadhurst opened this issue Jul 1, 2021 · 7 comments
Closed

UI Block Explorer in Dev env #108

peterbroadhurst opened this issue Jul 1, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@peterbroadhurst
Copy link
Contributor

Currently you get a ganache CLI node, but there's no way to ask the CLI to use/create an existing Ganache UI node.
So if you want to see what's going on with the blockchain, it's a little hard - tailing logs.

Would be nice to have an option that lets you have a block explorer.

@peterbroadhurst peterbroadhurst added the enhancement New feature or request label Jul 1, 2021
@nguyer
Copy link
Contributor

nguyer commented Jul 1, 2021

@peterbroadhurst Great idea. I wonder if this should be a CLI issue though. Or do we want the block explorer integrated into FireFly itself? Right now FireFly (core) has no knowledge of Ganache directly.

@nguyer
Copy link
Contributor

nguyer commented Jul 1, 2021

Is there another easy/good block explorer we could use besides Ganache? Unfortunately the Ganache GUI is not capable of connecting to a different Ganache CLI. The UI always starts its own chain. There's an open issue that's been around for 3 years where people have been asking for this behavior: trufflesuite/ganache#322 I'm guessing it may not be worth our time to try to tie in Ganache GUI at this point, unless Ganache itself is improved.

@peterbroadhurst
Copy link
Contributor Author

There are lots of block explorers out there for sure (blockscout etc.) in various stages of openness and maturity.
There is just a bunch of complexity to many of them, to get them running.

One project that was very deliberately lightweight is: https://github.com/Alethio/ethereum-lite-explorer
However, I do not know the state of activity on that project today, or whether it has sufficient function to be useful (being able to decompose input payloads into JSON is a really important feature).

@peterbroadhurst
Copy link
Contributor Author

... did just want to be clear on one part of my original assumption, that if it were Ganache based, we would run the full Ganache instead of the CLI version (not alongside it).

@peterbroadhurst
Copy link
Contributor Author

... I think for Ganache to be able to show you the inputs and outputs, it might be necessary to use the Truffle tooling to do the installation of the contract too, so that the Truffle suite integration between the two components would allow Ganache to know the ABI and show you the transaction input details.

@awrichar
Copy link
Contributor

Noting for the record that we've moved away from Ganache some time back, but a block explorer is still a desirable enhancement.

@shorsher
Copy link
Member

Closing this issue. Please submit a FIR for proposals and further discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants