Add Terra

This commit is contained in:
liangping 2021-08-10 14:30:06 +08:00
parent 184088ae83
commit 1ffa71b8e4
3 changed files with 14 additions and 7 deletions

View File

@ -10,6 +10,7 @@
"osmosis": "Osmosis",
"okexchain": "OKEX Chain",
"band": "Band Protocal",
"terra": "Terra",
"staking": "Staking",
"governance": "Governance",

View File

@ -8,13 +8,13 @@ configs.keys().forEach(k => {
update[c.chain_name] = c
})
const localChains = localStorage.getItem('chains')
if (localChains) {
chains = JSON.parse(localChains)
} else {
chains = update
localStorage.setItem('chains', JSON.stringify(update))
}
// const localChains = localStorage.getItem('chains')
// if (localChains) {
// chains = JSON.parse(localChains)
// } else {
chains = update
localStorage.setItem('chains', JSON.stringify(update))
// }
// Object.keys(update).forEach(key => {
// const chain = update[key]

View File

@ -0,0 +1,6 @@
{
"chain_name": "terra",
"api": "https://fcd.terra.dev",
"sdk_version": "0.39.2",
"logo": "https://dl.airtable.com/.attachments/275a6cbdbdc911856556e716a60d6ec4/87addd7f/terra.jpg"
}