Skip to content

SentinelChain/sentinel-chain-explorer

Repository files navigation

Sentinel Chain Explorer

Lightweight blockchain explorer for your private Sentinel chain

Sentinel Chain Explorer is a Sentinel 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 Sentinel node.

Current Features

  • Browse blocks, transactions, accounts, bridge information and contracts
  • View pending transactions
  • Display contract internal calls (call, create, suicide)
  • Upload & verify contract sources
  • Show Solidity function calls & parameters (for contracts with available source code)
  • Display the current state of verified contracts
  • Named accounts
  • Advanced transaction tracing (VM Traces & State Diff)
  • View failed transactions
  • Live Backend Node status display
  • Submit signed Transactions to the Network
  • Support for all Bootswatch skins
  • Accounts enumeration
  • Signature verification
  • Supports IPC and HTTP backend connections
  • Responsive layout

Usage notes

This blockchain explorer is intended for private Sentinel chain. 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 and +

Supported Sentinel 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. Clone this repository to your local machine: git clone https://github.com/SentinelChain/sentinel-chain-explorer.git --recursive (Make sure to include --recursive in order to fetch the solc-bin git submodule)
  3. Install all dependencies: npm install
  4. Rename config.js.example into config.js and adjust the file to your local environment
  5. Start the explorer: npm start
  6. Browse to http://localhost:3000

Setup using docker

Build then run the container

docker build -t sentinel-chain-explorer .
docker run -p 3000:3000 sentinel-chain-explorer

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

docker run -p "3000:3000" \
    -v "$(pwd)/config.js":/usr/src/app/config.js \
    sentinel-chain-explorer

Setup using docker-compose

docker-compose up

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors