Skip to content

exonum/blockchain-explorer

Repository files navigation

Exonum Blockchain Explorer

An application for monitoring blocks and transactions in Exonum blockchain.

Exonum Blockchain Explorer

Use with different Exonum core versions

Explorer compatibility with Exonum core:

Core version Tag
1.0.* v0.11
0.10.* v0.10
0.9.* v0.9
0.8.* v0.8
0.7.* v0.6
0.6.* v0.6
0.5.* v0.1
0.4.0 v0.1
0.3.0 v0.1
0.2.0 v0.1
0.1.* v0.1

Setup

First, install dependencies:

npm install

Starting as a Node.JS server

Build sources:

npm run build

Run app:

npm start -- --port=3000 --public-api-root=http://127.0.0.1:8200 --private-api-root=http://127.0.0.1:8201
  • --port is a port for Node.JS app.
  • --public-api-root is a root URL of Exonum node public API.
  • --private-api-root is a root URL of Exonum node private API.

Build a static html pages

CORS headers must be setted up in Exonum node configuration to use the application as static html pages. See allow_origin parameter in Exonum docs.

Run index.html.

LICENSE

Exonum Blockchain Explorer is licensed under the Apache License (Version 2.0). See LICENSE for details.