Visual Explorer for the Hiero DLT.
npm install
npm run dev
npm run build
npm run lint
npm run test:unit
npm run test:e2e:dev
npm run test:e2e
The configuration of the explorer is based on these 2 files, which need to be found at the root of the app in order for the Explorer to start:
/public/core-config.json
/public/networks-config.json
Details for these configuration files can be found in CONFIGURATION.md.
npm run docker:build
cp networks-config-http-example.json networks-config.json
npm run docker:start
open http://localhost:8080
npm run docker:stop
To run in Kubernetes the hiero-explorer Helm chart can be used. First, obtain access to a Kubernetes cluster running version 1.23 or greater. Minikube can be used for a local Kubernetes cluster.
helm upgrade --install hiero-explorer chart/
Core configuration and network configuration need to be provided to the Explorer in the values.yaml
file
(see CONFIGURATION.md for details on configuration parameters).
The network configuration needs to provide at least the description on one supported networks.
An example:
config: |
[
{
"name": "testnet",
"displayName": "TESTNET",
"url": "https://testnet.mirrornode.hedera.com/",
"ledgerID": "01"
}
]
The default sourcify configuration in networks-config.json
allows the explorer to contact a local installation of sourcify for verifying contracts.
Note that the production sourcify server will not accept verification requests from an explorer running on localhost.
Use the following commands to use sourcify locally:
npm run sourcify:setup
: Check environment set-up for running sourcify locally
npm run sourcify:start
: Start sourcify service. This should open a page saying that the server is alive.
npm run sourcify:stop
: Stop sourcify service
Please see sourcify-setup/README.md for more details.
Contributions are welcome. Please see the contributing guide to see how you can get involved.
This project is governed by the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to [email protected].