-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblockchain.js
38 lines (33 loc) · 1.32 KB
/
blockchain.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const NibiruSupportedLocalnetChains = require('./cosmos/wallet/nibi/nibiru-localnet-0/chains.json')
const NibiruSupportedTestnetChains = require('./cosmos/wallet/nibi/nibiru-testnet-1/chains.json')
const OsmosisSupportedTestnetChains = require('./cosmos/wallet/osmo/osmo-test-5/chains.json')
const NibiruSupportedMainnetChains = require('./cosmos/wallet/nibi/cataclysm-1/chains.json')
const TerraSupportedTestnetChains = require('./cosmos/wallet/terra/rebel-2/chains.json')
const DiamSupportedTestnetChains = require('./stellar/wallet/diam/Diamante Testnet 2024/chains.json')
const DiamanteSupportedMainnetChains = require('./stellar/wallet/diam/Diamante Mainnet/chains.json')
function getCosmosSupportedChains() {
return [
...NibiruSupportedLocalnetChains,
...NibiruSupportedTestnetChains,
...OsmosisSupportedTestnetChains,
...NibiruSupportedMainnetChains,
...TerraSupportedTestnetChains
]
}
function getStellarSupportedChains() {
return [
...DiamSupportedTestnetChains,
...DiamanteSupportedMainnetChains
]
}
function getSupportedChains() {
return {
interchain: [...getCosmosSupportedChains()],
stellar: [...getStellarSupportedChains()]
}
}
module.exports = {
getCosmosSupportedChains,
getStellarSupportedChains,
getSupportedChains
}