/explorer

Primary LanguageVueApache License 2.0Apache-2.0

vega Blockchain Explorer

An application for monitoring blocks and transactions in vega blockchain.

vega Blockchain Explorer

Use with different vega core versions

Explorer compatibility with vega core:

Core version Tag
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 --api-root=http://127.0.0.1:8200

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

--api-root is a root URL of vega node public API.

Build a static html pages

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

Build sources:

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

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

Run index.html.

LICENSE

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