explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Followed README but no data showing for my chain

Open njmurarka opened this issue 3 years ago • 8 comments

I am trying to run my own instance of the explorer.

I configured it all according to the docs, unless I missed something.

First of all, I do not have a mainnet. So if I do not put a config in src/chains/mainnet, it seems my network does not even show up. So what do I do here -- put in a bogus mainnet entry?

Secondly, for the testnet version, I am not seeing any data showing for my chain. All empty.

Here is my bluzelle.json file in src/chains/testnet:

{
    "chain_name": "bluzelle",
    "api": ["http://localhost:1327"], 
    "rpc": ["http://localhost:26667"],
    "sdk_version": "0.42.6",
    "coin_type": "483",
    "min_tx_fee": "800",
    "assets": [{
        "base": "ubnt",
        "symbol": "BNT",
        "exponent": "6",
        "coingecko_id": "bluzelle", 
        "logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
    }],
    "addr_prefix": "bluzelle",
    "logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
}

Is there some way to see the logs of why this is not working?

njmurarka avatar Jun 07 '22 09:06 njmurarka

Can you put config file to mainnet directory

liangping avatar Jun 07 '22 10:06 liangping

Yep, shows up if I put a config file in the mainnet directory. So I need to have an entry there even if I have no mainnet?

Which config file is used when I goto the UI in the browser then? How do I switch over to see the testnet and not the mainnet?

Thanks.

njmurarka avatar Jun 07 '22 10:06 njmurarka

You need set a domain starts with testnet.*.*

liangping avatar Jun 07 '22 10:06 liangping

Sorry, but I do not understand.

Set the domain for what part, to start with testnet..? Are you referring to the API endpoint for my testnet chain has to start with testnet? As in, testnet.bar.com? Is that a requirement for a testnet to appear?

Also, if I do that, how do I actually navigate in the web app to see the testnet then? I do not see a button anywhere to view testnet.

njmurarka avatar Jun 07 '22 10:06 njmurarka

testnet.abc.com will switch to testnet mode where configs are loaded from testnet directory

liangping avatar Jun 07 '22 22:06 liangping

This has to be an option. Using testnet as a prefix does not sit well with everyone

wildcommunist avatar Jun 22 '22 18:06 wildcommunist

testnet.abc.com will switch to testnet mode where configs are loaded from testnet directory

Sorry but what will switch to testnet mode? Are you saying PingPub will ONLY display the testnet info, if the testnet-prefixed domain is provided in the config? I am still unclear here, as there is no way in PingPub to select if I want to see mainnet or testnet -- how do I select?

Indeed, this should be an option -- setting the domain and then having that magically make the testnet appear seems very wrong, not to mention I don't see this documented anywhere -- tribal knowledge?

njmurarka avatar Jun 22 '22 18:06 njmurarka

Are you saying PingPub will ONLY display the testnet info, if the testnet-prefixed domain is provided in the config? I am still unclear here, as there is no way in PingPub to select if I want to see mainnet or testnet -- how do I select?

yeah. testnet domain enable configurations for testnet

liangping avatar Jun 29 '22 23:06 liangping