cosmos-explorer/src/chains
Erialos 63c94982fc Chain File corrections and update
Some of the chain files I updated were done on an older chain file, and so some of the new information was lost.

I went through all chains that I found a github link for, verified the cosmos sdk version and change it respectively.

Some of the chains do not have a link to github.  Others have an improper link to their repo, some links go to another project within their repo and some were just wrong.

Probably worth figuring out how to auto fetch the current SDK version instead of it being a manual configuration.
2022-10-09 06:41:19 -06:00
..
mainnet Chain File corrections and update 2022-10-09 06:41:19 -06:00
testnet Updated gitignore and chain files 2022-10-06 08:42:58 -06:00
README.md change branch for testnet 2022-04-02 08:22:00 +08:00

Directory Layout

We accept all blockchains which have 10+ independent validators.

Sample of Config

{
    "chain_name": "cosmos",
    "api": ["https://cosmos.api.ping.pub"], 
    "rpc": ["https://cosmos.rpc.ping.pub:443","http://your-host:26657"],
    "sdk_version": "0.42.6",
    "coin_type": "118",
    "min_tx_fee": "800",
    "assets": [{
        "base": "uatom",
        "symbol": "ATOM",
        "exponent": "6",
        "coingecko_id": "cosmos", 
        "logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
    }],
    "addr_prefix": "cosmos",
    "logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
}
  • chain_name the name to identify the chain on ping.pub
  • api the rest api endpoint.(make sure that CORS is enabled: Allow-Control-Allow-Origin: *)
  • rpc the rpc endpoint, make sure that the port is added. rpc endpoint is only used for state sync. it's optional.
  • assets Native Assets on blockchain.

Test

please add these check points in comments with your PR, and adding your test result by clicking the checkbox of each line

Test Result:
- [ ] Connect wallet, check if address is correct? 
- [ ] Transfer
- [ ] Delegate
- [ ] Redelegate
- [ ] Unbond
- [ ] withdraw Validator's Commission
- [ ] withdraw Rewards

Test is very important for us and our users.