An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
besu/docs/EthStats/Lite-Block-Explorer.md

2.9 KiB

description: Ethereum Lite Explorer

Ethereum Lite Explorer

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

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

!!! note The Ethereum Lite Explorer is an Alethio product.

Prerequisites

Docker or npm

Run Using Docker

To run the Lite Explorer using the Docker image:

  1. Start Pantheon with the --rpc-http-enabled option.

    !!! example

     To run Pantheon in development mode:
    
     ```bash
     pantheon --network=dev --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all" --host-whitelist=* --rpc-http-enabled --data-path=/tmp/tmpDatdir
     ```
    
  2. Run the alethio/ethereum-lite-explorer Docker image specifying the RPC HTTP URL (http://localhost:8545 in this example):

    docker run -p 80:80 -e NODE_URL=http://localhost:8545 alethio/ethereum-lite-explorer
    
  3. Open localhost in your browser to view the Lite Explorer.

Install and Run

  1. Clone the ethereum-lite-explorer repository:

    git clone https://github.com/Alethio/ethereum-lite-explorer.git
    
  2. Change into the ethereum-lite-explorer directory:

    cd ethereum-lite-explorer
    
  3. Install npm packages:

    npm install
    
  4. Copy the sample config:

    cp config.default.json config.dev.json
    
  5. Update the config.dev.json file:

    • Set APP_NODE_URL to the RPC HTTP URL of your node (http://localhost:8545 in this example)

    • Remove other environment variables.

  6. In another terminal, start Pantheon with the --rpc-http-enabled option.

    !!! example

     To run Pantheon in development mode:
    
     ```bash
     pantheon --network=dev --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all" --host-whitelist=* --rpc-http-enabled --data-path=/tmp/tmpDatdir
     ```
    
  7. In the ethereum-lite-explorer directory, run the Lite Explorer in development mode:

    npm run build
    npm run start
    
  8. A browser windows should open displaying the Ethereum Lite Explorer (http://localhost:3000/)

Lite Block Explorer Documentation

See the Ethereum Lite Explorer GitHub repository for more documentation, including details on deploying it.