@ludo.ninja/components 2.3.75 → 2.3.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -70,17 +70,40 @@ const StyledSelect = (0, styled_components_1.default)(DesktopSelect_1.default) `
|
|
|
70
70
|
`;
|
|
71
71
|
const getBlockchainOptions = (domain) => {
|
|
72
72
|
const data = [];
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
73
|
+
const availableBlockChains = [
|
|
74
|
+
core_1.BlockChainKeys.ETHEREUM_MAINNET,
|
|
75
|
+
core_1.BlockChainKeys.ETHEREUM_SEPOLIA,
|
|
76
|
+
core_1.BlockChainKeys.elrond,
|
|
77
|
+
core_1.BlockChainKeys.optimism,
|
|
78
|
+
core_1.BlockChainKeys.POLYGON_MAINNET,
|
|
79
|
+
core_1.BlockChainKeys.POLYGON_AMOY,
|
|
80
|
+
core_1.BlockChainKeys.polygonzkevm,
|
|
81
|
+
core_1.BlockChainKeys.avalanche,
|
|
82
|
+
core_1.BlockChainKeys.solana,
|
|
83
|
+
core_1.BlockChainKeys.tezos,
|
|
84
|
+
core_1.BlockChainKeys.flow,
|
|
85
|
+
core_1.BlockChainKeys.BSC_MAINNET,
|
|
86
|
+
core_1.BlockChainKeys.arbitrum,
|
|
87
|
+
core_1.BlockChainKeys.arbitrum_nova,
|
|
88
|
+
core_1.BlockChainKeys.cronos,
|
|
89
|
+
core_1.BlockChainKeys.near,
|
|
90
|
+
core_1.BlockChainKeys.wax,
|
|
91
|
+
core_1.BlockChainKeys.klaytn,
|
|
92
|
+
core_1.BlockChainKeys.moonbeam,
|
|
93
|
+
core_1.BlockChainKeys.skale,
|
|
94
|
+
core_1.BlockChainKeys.immutablex,
|
|
95
|
+
core_1.BlockChainKeys.BASE_MAINNET,
|
|
96
|
+
core_1.BlockChainKeys.BASE_SEPOLIA,
|
|
97
|
+
core_1.BlockChainKeys.TON_MAINNET,
|
|
98
|
+
];
|
|
99
|
+
availableBlockChains.forEach((chain) => {
|
|
100
|
+
const blockChainEntity = new core_1.BlockChainEntity(chain);
|
|
101
|
+
data.push({
|
|
102
|
+
id: data_1.blockChainData[chain].blockchainPrivateLabel,
|
|
103
|
+
label: data_1.blockChainData[chain].blockchainPublicLabel,
|
|
104
|
+
icon: blockChainEntity.getBlockChainIconRegular({ domain }),
|
|
105
|
+
});
|
|
106
|
+
});
|
|
84
107
|
return data.sort((a, b) => a.label.localeCompare(b.label));
|
|
85
108
|
};
|
|
86
109
|
const StyledImg = styled_components_1.default.img `
|