Add sentinel and change cosmos api

This commit is contained in:
liangping 2021-09-21 06:59:42 +08:00
parent 9c32eac1f6
commit 432f5e8340
4 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@
"desmos": "Desmos",
"juno": "Juno Hera",
"certik": "Certik",
"sentinel": "Sentinel",
"staking": "Staking",
"governance": "Governance",

View File

@ -284,7 +284,7 @@ const chainAPI = class ChainFetch {
}
async getIBCDenomTrace(hash, config = null) {
const h = hash.substring(hash.indexOf('/'))
const h = hash.substring(hash.indexOf('/') + 1)
return this.get('/ibc/applications/transfer/v1beta1/denom_traces/'.concat(h), config).then(data => commonProcess(data))
}

View File

@ -1,6 +1,6 @@
{
"chain_name": "cosmos",
"api":"https://lcd-cosmoshub.keplr.app",
"api":"https://cosmos.api.ping.pub",
"sdk_version": "0.42.6",
"addr_prefix": "cosmos",
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"