paritytech/etherchain-light

Name: etherchain-light

Owner: Parity Technologies

Description: Lightweight Ethereum blockchain explorer

Forked from: gobitfly/etherchain-light

Created: 2017-12-12 12:03:34.0

Updated: 2017-12-12 12:03:36.0

Pushed: 2017-12-12 13:03:15.0

Homepage:

Size: 67

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Etherchain Light

Lightweight blockchain explorer for your private Ethereum chain

Etherchain Light is an Ethereum blockchain explorer built with NodeJS, Express and Parity. It does not require an external database and retrieves all information on the fly from a backend Ethereum node.

While there are several excellent Ethereum blockchain explorers available (etherscan, ether.camp and etherchain) they operate on a fixed subset of Ethereum networks, usually the mainnet and testnet. Currently there are no network agnostic blockchain explorers available. If you want to develop Dapps on a private testnet or would like to launch a private / consortium network, Etherchain Light will allow you to quickly explore such chains.

A demo instance connected to the Kovan Ethereum testnet is available at light.etherchain.org. An example of a verified contract source can be found at 0x0cf37d2d45427a1380db12c9b352d6f083143817. An example of a transaction where the corresponding Solidity function name and parameters have been identified can be found at 0x82da63f3d998415b748111e6f1d11051167fb995fdca990acd3cfd5a8b397c20

Current Features
Planned features

Missing a feature? Please request it by creating a new Issue.

Usage notes

This blockchain explorer is intended for private Ethereum chains. As it does not have a dedicated database all data will be retrived on demand from a backend Parity node. Some of those calls are ressource intensive (e.g. retrieval of the full tx list of an account) and do not scale well for acounts with a huge number of transactions. We currently develop the explorer using the Kovan testnet but it will work with every Parity compatible Ethereum network configuration. The explorer is still under heavy development, if you find any problems please create an issue or prepare a pull request.

Getting started
Setup from source

Supported OS: Ubuntu 16.04

Supported Ethereum backend nodes: Parity (Geth is currently not supported as it does not allow account and received/sent tx enumeration)

  1. Setup a nodejs & npm environment
  2. Install the latest version of the Parity Ethereum client
  3. Start parity using the following options: parity --chain=<yourchain> --tracing=on --fat-db=on --pruning=archive
  4. Clone this repository to your local machine: git clone https://github.com/gobitfly/etherchain-light --recursive (Make sure to include --recursive in order to fetch the solc-bin git submodule)
  5. Install all dependencies: npm install
  6. Rename config.js.example into config.js and adjust the file to your local environment
  7. Start the explorer: npm start
  8. Browse to http://localhost:3000
Setup using docker

Build then run the container

er build -t etherchain-light .
er run -p 3000:3000 etherchain-light

Or directly bind the config.js file to avoid rebuilding the image

er run -p "3000:3000" \
-v "$(pwd)/config.js":/usr/src/app/config.js \
etherchain-light
Setup using docker-compose
er-compose up

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.