cosmos-explorer/src/chains
2022-01-13 09:02:25 +08:00
..
mainnet update version of sdk 2022-01-13 09:02:25 +08:00
testnet Adding Provenance Blockchain registrations 2022-01-05 09:52:35 -07:00
README.md change config 2022-01-10 19:08:11 +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"], 
    "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
  • coingecko the id of the token on chain. if there multi-tokens, using `["tokenA","tokenB"]
  • api the rest api endpoint. make sure CORS is enabled: Allow-Control-Allow-Origin: *

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.