Add Terra
This commit is contained in:
parent
184088ae83
commit
1ffa71b8e4
@ -10,6 +10,7 @@
|
|||||||
"osmosis": "Osmosis",
|
"osmosis": "Osmosis",
|
||||||
"okexchain": "OKEX Chain",
|
"okexchain": "OKEX Chain",
|
||||||
"band": "Band Protocal",
|
"band": "Band Protocal",
|
||||||
|
"terra": "Terra",
|
||||||
|
|
||||||
"staking": "Staking",
|
"staking": "Staking",
|
||||||
"governance": "Governance",
|
"governance": "Governance",
|
||||||
|
@ -8,13 +8,13 @@ configs.keys().forEach(k => {
|
|||||||
update[c.chain_name] = c
|
update[c.chain_name] = c
|
||||||
})
|
})
|
||||||
|
|
||||||
const localChains = localStorage.getItem('chains')
|
// const localChains = localStorage.getItem('chains')
|
||||||
if (localChains) {
|
// if (localChains) {
|
||||||
chains = JSON.parse(localChains)
|
// chains = JSON.parse(localChains)
|
||||||
} else {
|
// } else {
|
||||||
chains = update
|
chains = update
|
||||||
localStorage.setItem('chains', JSON.stringify(update))
|
localStorage.setItem('chains', JSON.stringify(update))
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Object.keys(update).forEach(key => {
|
// Object.keys(update).forEach(key => {
|
||||||
// const chain = update[key]
|
// const chain = update[key]
|
||||||
|
6
src/store/chains/terra.json
Normal file
6
src/store/chains/terra.json
Normal 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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user