Skip to content

How to add a new network to Explorer

Syed Abbas Abid edited this page Mar 30, 2022 · 2 revisions

This document will explain how to configure a new network locally for explorer.

Add network.json file in .local-storage/networks

You need to create a network record in .json file in .local-storage/networks

e.g. ../.local-storage/network/stardust-testnet-4.json

{
    "network": "stardust-testnet-4",
    "label": "Stardust testnet",
    "isHidden": false,
    "order": 0,
    "provider": "PROVIDER_END_POINT_URL",
    "permaNodeEndpoint": "PERMANODE_END_POINT_URL",
    "feedEndpoint": "FEED_END_POINT_URL",
    "protocolVersion": "chrysalis",
    "isEnabled": true,
    "description": "Stardust testnet",
    "showMarket": true,
    "bechHrp": "atoi",
    "didExample": ""
}

After adding this file you will need to rebuild and run both the /api and /client and you will be able to see the new added network in the list of networks in header in explorer.

Clone this wiki locally