Skip to content

Latest commit

 

History

History
74 lines (58 loc) · 4.78 KB

README.md

File metadata and controls

74 lines (58 loc) · 4.78 KB
Provenance Explorer


Provenance Blockchain Explorer

Blockchain explorer for the Provenance Blockchain

Provenance is a distributed, proof of stake blockchain designed for the financial services industry.

For more information about Provenance Inc visit https://provenance.io

The Provenance Blockchain Explorer allows viewing transactions, validators, blocks, wallets and various other sets of information in near real-time. This application is built using React, Redux, and Styled Components.

Visit our Docker Hub to grab an image and run the apps with Docker.

Quick start options

There are three ways to view the Explorer-Frontend App. The fastest and easiest way is to just look at the live website. The second quickest is pulling down a docker image(s) and running them. The third, and potentially faster than the docker version of running off test data, is to run this app locally with node. Below are the steps to get each method working on your machine.

A) Live

  • Visit the public website and see the explorer running with zero setup or configurations here: Provenance Explorer

B) Docker

  • a) Full setup
    • This will pull all three dockerized images (provenance blockchain, explorer-service, and explorer-frontend and get them running with a single command)
    • TODO: Get url and start command for composed docker image (Work in Progress)
  • b) Manual setup
  • c) Local setup
    • There are two commands included in npm scripts to get the front-end image up and running
      • npm run docker:prod (Dockerfile-prod)
        • Runs an nginx server with the app off of port 80
      • npm run docker:local(Dockerfile)
        • Runs a local node server with the app off of port 3000
      • Note: these commands just build the images, using vscode you can download the docker plugin, find the explorer-frontend images (prod and local) then right-click and select run

C) Local Node

  • Start off with pulling the latest Explorer-Frontend, followed by installing all required modules with npm install

  • You will have two options for getting data, pointing to local APIs and pointing to test APIs a) Local

    b) Test

    • You don't need to have any other app or service running for this method, it's the fastest and easiest way to start working locally
    • npm run start:test

Local Development Notes

While under heavy development, the use of polyfills in the frontend code is extensive. In order to run locally, you must first comment out the nodePolyfills() (line 33 at the time of this writing) plugin in the vite.config.mjs file.

Status

Latest Release Apache 2.0 License LOC

The Provenance Blockchain Explorer is under heavy development. The upcoming public blockchain is the evolution of the private Provenance network blockchain started in 2018. Current development is being supported by Figure Technologies.