/blockchain-explorer

An explorer for Exonum blockchains

Primary LanguageVueApache License 2.0Apache-2.0

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
unreleased latest
0.9.* v0.8
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 --api-root=http://127.0.0.1:8200

--port is a port for Node.JS app.

--api-root is a root URL of Exonum node public 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.

Build sources:

npm run compile -- --env.apiRoot=http://127.0.0.1:8200

--env.apiRoot is a root URL of Exonum node public API.

Run index.html.

LICENSE

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