Tools - Block Explorer - Alethio Lite Explorer installation guide

Use the Alethio Ethereum Lite Explorer to explore blockchain data at the block, transaction, and account level.

The Alethio Ethereum Lite Explorer is a web application that connects to any Ethereum JSON-RPC enabled node. No online server, hosting, or trusting third parties to display the blockchain data is required.

Run Using Docker

To run the Ethereum Lite Explorer using the Docker image:

Run the alethio/ethereum-lite-explorer Docker image specifying the JSON-RPC HTTP URL (http://yourIP:8545 in this example):

docker run --rm -p 8081:80 -e APP_NODE_URL=http://yourIP:8545 alethio/ethereum-lite-explorer

Open http://yourIP:8081 in your browser to view the Lite Explorer.

:information_source: Default HTTP port: We are using port 8081 to run the Ethereum Lite Explorer so the EthStats Lite can use port 80. You can then run both at the same time.

Install and Run with Node.js

  1. Clone the ethereum-lite-explorer repository:
git clone https://github.com/Alethio/ethereum-lite-explorer.git
  1. Change into the ethereum-lite-explorer directory:
cd ethereum-lite-explorer
  1. Install npm packages:
npm install
  1. Copy the sample config:
cp config.default.json config.dev.json
  1. Update the config.dev.json file:

  2. Set APP_NODE_URL to the JSON-RPC HTTP URL of your node (http://yourIP:8545 in this example)

  3. Remove other environment variables.

  4. In another terminal, start Besu with the --rpc-http-enabled option.

  5. In the ethereum-lite-explorer directory, run the Lite Explorer in development mode:

npm run build
npm run start
  1. A browser window displays the Ethereum Lite Explorer (http://yourIP:3000/).

Source:

https://besu.hyperledger.org/en/stable/HowTo/Deploy/Lite-Block-Explorer/