Skip to content

Commit f93e9cf

Browse files
committed
feat: add coin metadata for multiple EVM coins
Ticket: WIN-7642
1 parent 49dbe8a commit f93e9cf

File tree

1 file changed

+241
-18
lines changed

1 file changed

+241
-18
lines changed

src/helpers/config.ts

Lines changed: 241 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -903,12 +903,253 @@ export const allCoinMetas: Record<string, CoinMetadata> = {
903903
Description: 'Base Chain Mainnet',
904904
Icon: 'baseeth',
905905
value: 'baseeth',
906+
isTssSupported: true,
907+
ApiKeyProvider: 'etherscan.io',
908+
minGasLimit: '400,000',
909+
defaultGasLimit: '1000000',
910+
defaultGasLimitNum: 1000000,
906911
},
907912
tbaseeth: {
908913
Title: 'TBASEETH',
909914
Description: 'Base Sepolia Testnet',
910915
Icon: 'baseeth',
911916
value: 'tbaseeth',
917+
isTssSupported: true,
918+
ApiKeyProvider: 'etherscan.io',
919+
minGasLimit: '400,000',
920+
defaultGasLimit: '1000000',
921+
defaultGasLimitNum: 1000000,
922+
},
923+
hypeevm: {
924+
Title: 'HYPEEVM',
925+
Description: 'Hype EVM Mainnet',
926+
Icon: 'hypeevm',
927+
value: 'hypeevm',
928+
isTssSupported: true,
929+
ApiKeyProvider: 'etherscan.io',
930+
minGasLimit: '400,000',
931+
defaultGasLimit: '1000000',
932+
defaultGasLimitNum: 1000000,
933+
},
934+
thypeevm: {
935+
Title: 'THYPEEVM',
936+
Description: 'Hype EVM Testnet',
937+
Icon: 'hypeevm',
938+
value: 'thypeevm',
939+
isTssSupported: true,
940+
ApiKeyProvider: 'etherscan.io',
941+
minGasLimit: '400,000',
942+
defaultGasLimit: '1000000',
943+
defaultGasLimitNum: 1000000,
944+
},
945+
apechain: {
946+
Title: 'APECHAIN',
947+
Description: 'Ape Chain Mainnet',
948+
Icon: 'apechain',
949+
value: 'apechain',
950+
isTssSupported: true,
951+
ApiKeyProvider: 'etherscan.io',
952+
minGasLimit: '400,000',
953+
defaultGasLimit: '1000000',
954+
defaultGasLimitNum: 1000000,
955+
},
956+
tapechain: {
957+
Title: 'TAPECHAIN',
958+
Description: 'Ape Chain Testnet',
959+
Icon: 'apechain',
960+
value: 'tapechain',
961+
isTssSupported: true,
962+
ApiKeyProvider: 'etherscan.io',
963+
minGasLimit: '400,000',
964+
defaultGasLimit: '1000000',
965+
defaultGasLimitNum: 1000000,
966+
},
967+
ctc: {
968+
Title: 'CTC',
969+
Description: 'Creditcoin Mainnet',
970+
Icon: 'ctc',
971+
value: 'ctc',
972+
isTssSupported: true,
973+
ApiKeyProvider: 'etherscan.io',
974+
minGasLimit: '400,000',
975+
defaultGasLimit: '1000000',
976+
defaultGasLimitNum: 1000000,
977+
},
978+
tctc: {
979+
Title: 'TCTC',
980+
Description: 'Creditcoin Testnet',
981+
Icon: 'ctc',
982+
value: 'tctc',
983+
isTssSupported: true,
984+
ApiKeyProvider: 'etherscan.io',
985+
minGasLimit: '400,000',
986+
defaultGasLimit: '1000000',
987+
defaultGasLimitNum: 1000000,
988+
},
989+
tphrs: {
990+
Title: 'TPHRS',
991+
Description: 'Pharos Testnet',
992+
Icon: 'phrs',
993+
value: 'tphrs',
994+
isTssSupported: true,
995+
ApiKeyProvider: 'etherscan.io',
996+
minGasLimit: '400,000',
997+
defaultGasLimit: '1000000',
998+
defaultGasLimitNum: 1000000,
999+
},
1000+
ip: {
1001+
Title: 'IP',
1002+
Description: 'Story Mainnet',
1003+
Icon: 'ip',
1004+
value: 'ip',
1005+
isTssSupported: true,
1006+
ApiKeyProvider: 'api.storyscan.app',
1007+
minGasLimit: '400,000',
1008+
defaultGasLimit: '1000000',
1009+
defaultGasLimitNum: 1000000,
1010+
},
1011+
tip: {
1012+
Title: 'TIP',
1013+
Description: 'Story Testnet',
1014+
Icon: 'ip',
1015+
value: 'tip',
1016+
isTssSupported: true,
1017+
ApiKeyProvider: 'api.storyscan.app',
1018+
minGasLimit: '400,000',
1019+
defaultGasLimit: '1000000',
1020+
defaultGasLimitNum: 1000000,
1021+
},
1022+
og: {
1023+
Title: 'OG',
1024+
Description: 'Zero Gravity Mainnet',
1025+
Icon: 'og',
1026+
value: 'og',
1027+
isTssSupported: true,
1028+
ApiKeyProvider: 'etherscan.io',
1029+
minGasLimit: '400,000',
1030+
defaultGasLimit: '1000000',
1031+
defaultGasLimitNum: 1000000,
1032+
},
1033+
tog: {
1034+
Title: 'TOG',
1035+
Description: 'Zero Gravity Testnet',
1036+
Icon: 'og',
1037+
value: 'tog',
1038+
isTssSupported: true,
1039+
ApiKeyProvider: 'etherscan.io',
1040+
minGasLimit: '400,000',
1041+
defaultGasLimit: '1000000',
1042+
defaultGasLimitNum: 1000000,
1043+
},
1044+
lineaeth: {
1045+
Title: 'LINEAETH',
1046+
Description: 'Linea Ethereum Mainnet',
1047+
Icon: 'lineaeth',
1048+
value: 'lineaeth',
1049+
isTssSupported: true,
1050+
ApiKeyProvider: 'etherscan.io',
1051+
minGasLimit: '400,000',
1052+
defaultGasLimit: '1000000',
1053+
defaultGasLimitNum: 1000000,
1054+
},
1055+
tlineaeth: {
1056+
Title: 'TLINEAETH',
1057+
Description: 'Linea Ethereum Testnet',
1058+
Icon: 'lineaeth',
1059+
value: 'tlineaeth',
1060+
isTssSupported: true,
1061+
ApiKeyProvider: 'etherscan.io',
1062+
minGasLimit: '400,000',
1063+
defaultGasLimit: '1000000',
1064+
defaultGasLimitNum: 1000000,
1065+
},
1066+
sonic: {
1067+
Title: 'SONIC',
1068+
Description: 'Sonic Mainnet',
1069+
Icon: 'sonic',
1070+
value: 'sonic',
1071+
isTssSupported: true,
1072+
ApiKeyProvider: 'etherscan.io',
1073+
minGasLimit: '400,000',
1074+
defaultGasLimit: '1000000',
1075+
defaultGasLimitNum: 1000000,
1076+
},
1077+
tsonic: {
1078+
Title: 'TSONIC',
1079+
Description: 'Sonic Testnet',
1080+
Icon: 'sonic',
1081+
value: 'tsonic',
1082+
isTssSupported: true,
1083+
ApiKeyProvider: 'etherscan.io',
1084+
minGasLimit: '400,000',
1085+
defaultGasLimit: '1000000',
1086+
defaultGasLimitNum: 1000000,
1087+
},
1088+
seievm: {
1089+
Title: 'SEIEVM',
1090+
Description: 'Sei EVM Mainnet',
1091+
Icon: 'seievm',
1092+
value: 'seievm',
1093+
isTssSupported: true,
1094+
ApiKeyProvider: 'etherscan.io',
1095+
minGasLimit: '400,000',
1096+
defaultGasLimit: '1000000',
1097+
defaultGasLimitNum: 1000000,
1098+
},
1099+
tseievm: {
1100+
Title: 'TSEIEVM',
1101+
Description: 'Sei EVM Testnet',
1102+
Icon: 'seievm',
1103+
value: 'tseievm',
1104+
isTssSupported: true,
1105+
ApiKeyProvider: 'etherscan.io',
1106+
minGasLimit: '400,000',
1107+
defaultGasLimit: '1000000',
1108+
defaultGasLimitNum: 1000000,
1109+
},
1110+
kaia: {
1111+
Title: 'KAIA',
1112+
Description: 'Kaia Mainnet',
1113+
Icon: 'kaia',
1114+
value: 'kaia',
1115+
isTssSupported: true,
1116+
ApiKeyProvider: 'kairos-api.kaiascan',
1117+
minGasLimit: '400,000',
1118+
defaultGasLimit: '1000000',
1119+
defaultGasLimitNum: 1000000,
1120+
},
1121+
tkaia: {
1122+
Title: 'TKAIA',
1123+
Description: 'Kaia Testnet',
1124+
Icon: 'kaia',
1125+
value: 'tkaia',
1126+
isTssSupported: true,
1127+
ApiKeyProvider: 'kairos-api.kaiascan',
1128+
minGasLimit: '400,000',
1129+
defaultGasLimit: '1000000',
1130+
defaultGasLimitNum: 1000000,
1131+
},
1132+
irys: {
1133+
Title: 'IRYS',
1134+
Description: 'Irys Mainnet',
1135+
Icon: 'irys',
1136+
value: 'irys',
1137+
isTssSupported: true,
1138+
ApiKeyProvider: 'inst-1.cloud.blockscout',
1139+
minGasLimit: '400,000',
1140+
defaultGasLimit: '1000000',
1141+
defaultGasLimitNum: 1000000,
1142+
},
1143+
tirys: {
1144+
Title: 'TIRYS',
1145+
Description: 'Irys Testnet',
1146+
Icon: 'irys',
1147+
value: 'tirys',
1148+
isTssSupported: true,
1149+
ApiKeyProvider: 'inst-1.cloud.blockscout',
1150+
minGasLimit: '400,000',
1151+
defaultGasLimit: '1000000',
1152+
defaultGasLimitNum: 1000000,
9121153
},
9131154
tstx: {
9141155
Title: 'TSTX',
@@ -1028,24 +1269,6 @@ export const prodEvmNonBitgoRecoveryCoins: string[] = [];
10281269
//Process all coins in a single loop rather than multiple filter operations
10291270
coins.forEach(coin => {
10301271
if (coin.isToken) return;
1031-
// TODO:: https://bitgoinc.atlassian.net/browse/WIN-6808 Will be removed as part of this ticket
1032-
if (
1033-
coin.name === 'tog' ||
1034-
coin.name === 'og' ||
1035-
coin.name === 'lineaeth' ||
1036-
coin.name === 'tlineaeth' ||
1037-
coin.name === 'ip' ||
1038-
coin.name === 'tip' ||
1039-
coin.name === 'seievm' ||
1040-
coin.name === 'tseievm' ||
1041-
coin.name === 'sonic' ||
1042-
coin.name === 'tsonic' ||
1043-
coin.name === 'kaia' ||
1044-
coin.name === 'tkaia' ||
1045-
coin.name === 'irys' ||
1046-
coin.name === 'tirys'
1047-
)
1048-
return;
10491272

10501273
const name = coin.name;
10511274
const isTestnet = coin.network.type === NetworkType.TESTNET;

0 commit comments

Comments
 (0)