Skip to content

Commit

Permalink
Remove Alethio content that no longer works. (#838)
Browse files Browse the repository at this point in the history
* Rename whitelist to allowlist.

Signed-off-by: Byron Gravenorst <[email protected]>

* Additional updates.

Signed-off-by: Byron Gravenorst <[email protected]>

* Whitelist renaming.

Signed-off-by: Byron Gravenorst <[email protected]>

* Address reviewer feedback.

Signed-off-by: Byron Gravenorst <[email protected]>

* Fix typos.

Signed-off-by: Byron Gravenorst <[email protected]>

* Remove Alethio nodejs content.

Signed-off-by: bgravenorst <[email protected]>

Co-authored-by: Byron Gravenorst <[email protected]>
  • Loading branch information
bgravenorst and Byron Gravenorst authored Oct 29, 2021
1 parent 349faf3 commit df4de3b
Showing 1 changed file with 1 addition and 65 deletions.
66 changes: 1 addition & 65 deletions docs/HowTo/Deploy/Lite-Block-Explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ parties to display the blockchain data.

## Prerequisites

[Docker](https://docs.docker.com/install/) or [Node.js](https://nodejs.org/).

!!! tip

Using Docker is the easiest way to get started using the Ethereum Lite Explorer with
Hyperledger Besu if you do not have Node.js installed.
* [Docker](https://docs.docker.com/install/).

## Run using Docker

Expand Down Expand Up @@ -51,62 +46,3 @@ To run the Ethereum Lite Explorer using the Docker image:
We are using port 8080 to run the Ethereum Lite Explorer so
the [EthStats Lite](Lite-Network-Monitor.md) can use port 80, allowing you to run both at
the same time.

## Install and run with Node.js

1. Clone the `ethereum-lite-explorer` repository:

```bash
git clone https://github.com/Alethio/ethereum-lite-explorer.git
```

1. Change into the `ethereum-lite-explorer` directory:

```bash
cd ethereum-lite-explorer
```

1. Install `npm` packages:

```bash
npm install
```

1. Copy the sample configuration:

```bash
cp config.default.json config.dev.json
```

1. Update the `config.dev.json` file:

* Set `APP_NODE_URL` to the JSON-RPC HTTP URL of your node (`http://localhost:8545` in this
example).
* Remove other environment variables.

1. In another terminal, start Besu with the
[`--rpc-http-enabled`](../../Reference/CLI/CLI-Syntax.md#rpc-http-enabled) option.

!!! example

To run Besu in development mode:

```bash
besu --network=dev --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all" --host-allowlist="*" --rpc-http-enabled --data-path=/tmp/tmpDatdir
```

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

```bash
npm run build
npm run start
```

A browser window displays the Ethereum Lite Explorer [`http://localhost:3000/`](http://localhost:3000/).

## Use with JSON-RPC authentication

You can install the [Alethio Explorer Plugin](https://github.com/adetante/explorer-besu-plugin) to use the Alethio
Ethereum Lite Explorer with Hyperledger Besu nodes with
[JSON-RPC authentication](../Interact/APIs/Authentication.md) enabled. See the
[plugin documentation](https://github.com/adetante/explorer-besu-plugin) for how to use the plugin with Node.js and Docker.

0 comments on commit df4de3b

Please sign in to comment.