RChain BlockExplorer
This is just a front-end project which only display the data in the RChain. There are no mock data to demonstrate. If you really want to run the explorer with real data, you have to start the custom RNode and connect to it.
The custom RNode is not an official RNode version developed by the whole core team!!!!Bugs and problems are expected.
You need to install the software below to compile.
Because a lot of the js libraries are out of dated in revdefine, in order to compile it well for everyone, here presents a docker way to make sure compile would work for different nodejs environments.
$ docker run --rm -it --entrypoint /bin/bash -v $(pwd):/revdefine ubuntu:18.04
dockerBash $ cd /revdefine
dockerBash $ bash docker-build.sh
After the command above , you would find the static files in dist
.
$ quasar dev
Then you can browse the page by http://localhost:8080
quasar build
The generated static files would locate in dist
.
The default host which the explorer is trying to connect is localhost.
You can edit the hosts by editting productionHost.ts
Currently revdefine.io is supporting the data providing.You can also use revdefine api.
export const productionHost = 'https://revdefine.io'
export const productionRNodePort = 40406