5

I set up a private blockchain with ganache in the server. Now I want to view the transactions like in the public blockchain explorer. Locally I use Ganache GUI where I can actually track down everything. How can I do the same for my private blockchain?

3
  • Did you try running ganache gui in the server? It should work the same as local.
    – Ismael
    Feb 7, 2021 at 5:16
  • Not yet. I think I should give a try
    – NinjaMAN
    Feb 8, 2021 at 5:01
  • Can you guide how do I setup Ganache GUI and view it in the browser?
    – NinjaMAN
    Feb 8, 2021 at 15:52

3 Answers 3

6

Ethernal (https://tryethernal.com/) is an open-source block explorer for private EVM-based chains. You'll have the same feature as Etherscan or Ganache UI but you can connect it to any chain.

(I am the developer of this project)

7
  • How does this differ re the OP's question from using Ganache? Feb 24, 2021 at 16:21
  • 1
    @TheRenaissance, You can only use Ganache UI with the chain started by Ganache UI, you can't use it with another chain (like a ganache-cli one running locally, or a remote one). From what I understood, this is what OP wants to do, Ethernal is a way to do this.
    – Antoine
    Feb 25, 2021 at 11:37
  • Can you explore local blockchain with it? Dec 16, 2021 at 18:47
  • @PlumillonForge yes it's possible
    – Antoine
    Dec 17, 2021 at 19:08
  • 1
    @Antoine I tested ethernal out and it works great!
    – juil
    Apr 20, 2023 at 23:50
5

You are able to use Blockscout as a block explorer for ganache-cli.

To do a local trial run I recommend using Blockscout via Docker:

  1. Start a local chain via ganache-cli
  2. Clone Blockscout and change to docker
  3. Run (assuming you are on macOS)
    COIN=ETH \
    ETHEREUM_JSONRPC_VARIANT=ganache \
    ETHEREUM_JSONRPC_HTTP_URL=http://host.docker.internal:8545 \
    ETHEREUM_JSONRPC_WS_URL=ws://host.docker.internal:8545 \
    make start
    
    • the first build takes a lot of time (about 15m on my machine)
    • consecutive starts are much faster
  4. Visit http://localhost:4000

You are able to permanently set up Blockscout by following their (manual) install doc.

1
  • way too many requirements, we just want a simple explorer Dec 28, 2022 at 12:43
1

I prefer explorer from etherparty.

  1. you can change the host and port from here as today's version. app/app.js Line no: 30.
1
  • works perfectly thanks! Dec 28, 2022 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.