Add Terra
This commit is contained in:
parent
184088ae83
commit
1ffa71b8e4
@ -10,6 +10,7 @@
|
||||
"osmosis": "Osmosis",
|
||||
"okexchain": "OKEX Chain",
|
||||
"band": "Band Protocal",
|
||||
"terra": "Terra",
|
||||
|
||||
"staking": "Staking",
|
||||
"governance": "Governance",
|
||||
|
@ -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 {
|
||||
// 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]
|
||||
|
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