diff --git a/src/lang/locales/en.json b/src/lang/locales/en.json index 7d87bf06..f2376b95 100644 --- a/src/lang/locales/en.json +++ b/src/lang/locales/en.json @@ -10,6 +10,7 @@ "osmosis": "Osmosis", "okexchain": "OKEX Chain", "band": "Band Protocal", + "terra": "Terra", "staking": "Staking", "governance": "Governance", diff --git a/src/store/chains/index.js b/src/store/chains/index.js index 5dd7fc25..f497ad01 100644 --- a/src/store/chains/index.js +++ b/src/store/chains/index.js @@ -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] diff --git a/src/store/chains/terra.json b/src/store/chains/terra.json new file mode 100644 index 00000000..55368b32 --- /dev/null +++ b/src/store/chains/terra.json @@ -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" +} \ No newline at end of file