@talken/talkenkit 2.4.15 → 2.4.17

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.
Files changed (234) hide show
  1. package/dist/abcWallet-54KUGWUZ.js +192 -0
  2. package/dist/abcWallet-KZHOADBJ.js +192 -0
  3. package/dist/abcWallet-NZAVB4PI.js +190 -0
  4. package/dist/chunk-5X3ROW3U.js +8777 -0
  5. package/dist/chunk-DKA3NVFM.js +8497 -0
  6. package/dist/chunk-QNZ5HSPM.js +8339 -0
  7. package/dist/chunk-VE53ZNZV.js +331 -0
  8. package/dist/components/ConfirmationModal/ApproveSection.css.d.ts +16 -0
  9. package/dist/components/ConfirmationModal/ApproveSection.d.ts +8 -0
  10. package/dist/components/ConfirmationModal/NFTPlaceholder.css.d.ts +7 -0
  11. package/dist/components/ConfirmationModal/NFTPlaceholder.d.ts +8 -0
  12. package/dist/components/ConfirmationModal/NftApprovalSection.css.d.ts +10 -0
  13. package/dist/components/ConfirmationModal/NftApprovalSection.d.ts +7 -0
  14. package/dist/components/ConfirmationModal/SignConfirmationModal.css.d.ts +35 -0
  15. package/dist/components/ConfirmationModal/SignConfirmationModal.d.ts +17 -0
  16. package/dist/components/ConfirmationModal/SwapSection.css.d.ts +17 -0
  17. package/dist/components/ConfirmationModal/SwapSection.d.ts +7 -0
  18. package/dist/components/ConfirmationModal/TransactionConfirmationModal.css.d.ts +49 -0
  19. package/dist/components/ConfirmationModal/TransactionConfirmationModal.d.ts +12 -0
  20. package/dist/components/ConfirmationModal/TransferSection.css.d.ts +17 -0
  21. package/dist/components/ConfirmationModal/TransferSection.d.ts +7 -0
  22. package/dist/components/ConfirmationModal/commonStyles.css.d.ts +37 -0
  23. package/dist/components/ConfirmationModal/constants.d.ts +16 -0
  24. package/dist/components/ConfirmationModal/index.d.ts +9 -0
  25. package/dist/components/ConfirmationModal/modalTheme.css.d.ts +20 -0
  26. package/dist/components/ConfirmationModal/transactionUIRegistry.d.ts +134 -0
  27. package/dist/components/ConfirmationModal/utils.d.ts +37 -0
  28. package/dist/components/ConnectOptions/AbcWaasAuth/AbcWaasAuthSections.css.d.ts +1 -0
  29. package/dist/components/ConnectOptions/AbcWaasAuth/AbcWaasAuthSections.d.ts +1 -1
  30. package/dist/components/ConnectOptions/AbcWaasAuth/hooks/useAbcWaasAuth.d.ts +2 -25
  31. package/dist/components/ConnectOptions/AbcWaasAuth/hooks/useAbcWaasSocial.d.ts +1 -47
  32. package/dist/components/ConnectOptions/PinAuth/hooks/useWalletGeneration.d.ts +4 -21
  33. package/dist/components/GasFeeModal/GasFeeEditModal.css.d.ts +32 -0
  34. package/dist/components/GasFeeModal/GasFeeEditModal.d.ts +21 -0
  35. package/dist/components/GasFeeModal/index.d.ts +3 -0
  36. package/dist/components/GasFeeModal/modalTheme.css.d.ts +19 -0
  37. package/dist/components/Icons/Close2.d.ts +7 -0
  38. package/dist/components/Icons/Copy2.d.ts +4 -0
  39. package/dist/components/Icons/Dropdown2.d.ts +4 -0
  40. package/dist/components/Icons/Edit.d.ts +4 -0
  41. package/dist/components/Icons/InfoCircle.d.ts +4 -0
  42. package/dist/components/Icons/Kakao.d.ts +2 -0
  43. package/dist/components/Icons/Minus.d.ts +4 -0
  44. package/dist/components/Icons/Plus.d.ts +4 -0
  45. package/dist/components/Icons/SettingsGear.d.ts +4 -0
  46. package/dist/components/Icons/SpeedHigh.d.ts +4 -0
  47. package/dist/components/Icons/SpeedLow.d.ts +4 -0
  48. package/dist/components/Icons/SpeedMedium.d.ts +4 -0
  49. package/dist/components/RainbowKitProvider/InternalPinProvider.d.ts +7 -9
  50. package/dist/components/RainbowKitProvider/RainbowKitConfigProvider.d.ts +1 -6
  51. package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts +7 -7
  52. package/dist/components/Toast/Toast.css.d.ts +2 -0
  53. package/dist/components/Toast/Toast.d.ts +6 -0
  54. package/dist/components/Toast/index.d.ts +4 -0
  55. package/dist/components/Toast/useToast.d.ts +10 -0
  56. package/dist/config/networks.d.ts +10 -0
  57. package/dist/css/sprinkles.css.d.ts +1 -1
  58. package/dist/hooks/useSolanaWallet.d.ts +5 -23
  59. package/dist/hooks/useTronWallet.d.ts +63 -0
  60. package/dist/index.css +1903 -236
  61. package/dist/index.d.ts +8 -3
  62. package/dist/index.js +7557 -3592
  63. package/dist/klipWallet-RD5Y4UEK.js +8 -0
  64. package/dist/providers/SignConfirmationProvider/SignConfirmationProvider.d.ts +22 -0
  65. package/dist/providers/SignConfirmationProvider/index.d.ts +6 -0
  66. package/dist/providers/SignConfirmationProvider/requestParsers.d.ts +24 -0
  67. package/dist/providers/SignConfirmationProvider/types.d.ts +91 -0
  68. package/dist/providers/SignConfirmationProvider/useApiClient.d.ts +15 -0
  69. package/dist/providers/SignConfirmationProvider/useTransactionResolver.d.ts +18 -0
  70. package/dist/secure-AEBFSVWE.js +8 -0
  71. package/dist/services/AbcAgenticWalletService.d.ts +111 -0
  72. package/dist/services/AbcAuthService.d.ts +26 -20
  73. package/dist/types/index.d.ts +3 -0
  74. package/dist/types/token.d.ts +82 -0
  75. package/dist/utils/abi/abiDecoder.d.ts +144 -0
  76. package/dist/utils/apiClientFactory.d.ts +21 -0
  77. package/dist/utils/blockies.d.ts +12 -0
  78. package/dist/utils/tokenMapper.d.ts +10 -0
  79. package/dist/wallets/walletConnectors/abcWallet/abcApi.d.ts +4 -1
  80. package/dist/wallets/walletConnectors/abcWallet/abcApi.js +7 -7
  81. package/dist/wallets/walletConnectors/abcWallet/abcBitcoinConnector.js +5 -5
  82. package/dist/wallets/walletConnectors/abcWallet/abcBitcoinProvider.d.ts +6 -8
  83. package/dist/wallets/walletConnectors/abcWallet/abcBitcoinProvider.js +1 -1
  84. package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +9 -9
  85. package/dist/wallets/walletConnectors/abcWallet/abcProvider.d.ts +17 -6
  86. package/dist/wallets/walletConnectors/abcWallet/abcProvider.js +5 -4
  87. package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.d.ts +11 -34
  88. package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.js +1 -1
  89. package/dist/wallets/walletConnectors/abcWallet/abcSolanaWalletAdapter.d.ts +3 -11
  90. package/dist/wallets/walletConnectors/abcWallet/abcSolanaWalletAdapter.js +17 -80
  91. package/dist/wallets/walletConnectors/abcWallet/abcTronProvider.d.ts +112 -0
  92. package/dist/wallets/walletConnectors/abcWallet/abcTronProvider.js +11 -0
  93. package/dist/wallets/walletConnectors/abcWallet/abcWallet.d.ts +2 -0
  94. package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +11 -10
  95. package/dist/wallets/walletConnectors/abcWallet/api/AuthApi.d.ts +9 -11
  96. package/dist/wallets/walletConnectors/abcWallet/api/AuthApi.js +6 -6
  97. package/dist/wallets/walletConnectors/abcWallet/api/BaseApiClient.d.ts +1 -1
  98. package/dist/wallets/walletConnectors/abcWallet/api/BaseApiClient.js +5 -5
  99. package/dist/wallets/walletConnectors/abcWallet/api/BitcoinApi.js +6 -6
  100. package/dist/wallets/walletConnectors/abcWallet/api/GasApi.d.ts +45 -0
  101. package/dist/wallets/walletConnectors/abcWallet/api/GasApi.js +12 -0
  102. package/dist/wallets/walletConnectors/abcWallet/api/SigningApi.js +7 -7
  103. package/dist/wallets/walletConnectors/abcWallet/api/SolanaApi.d.ts +9 -1
  104. package/dist/wallets/walletConnectors/abcWallet/api/SolanaApi.js +7 -7
  105. package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiClient.d.ts +333 -0
  106. package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiClient.js +11 -0
  107. package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiSingleton.d.ts +18 -0
  108. package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiSingleton.js +14 -0
  109. package/dist/wallets/walletConnectors/abcWallet/api/TransactionApi.d.ts +2 -2
  110. package/dist/wallets/walletConnectors/abcWallet/api/TransactionApi.js +7 -7
  111. package/dist/wallets/walletConnectors/abcWallet/api/TronApi.d.ts +102 -0
  112. package/dist/wallets/walletConnectors/abcWallet/api/TronApi.js +12 -0
  113. package/dist/wallets/walletConnectors/abcWallet/api/WalletApi.d.ts +4 -2
  114. package/dist/wallets/walletConnectors/abcWallet/api/WalletApi.js +7 -7
  115. package/dist/wallets/walletConnectors/abcWallet/api/WalletscanApi.d.ts +60 -0
  116. package/dist/wallets/walletConnectors/abcWallet/api/WalletscanApi.js +12 -0
  117. package/dist/wallets/walletConnectors/abcWallet/api/index.d.ts +24 -0
  118. package/dist/wallets/walletConnectors/abcWallet/api/index.js +35 -17
  119. package/dist/wallets/walletConnectors/abcWallet/constants.d.ts +39 -1
  120. package/dist/wallets/walletConnectors/abcWallet/constants.js +5 -1
  121. package/dist/wallets/walletConnectors/abcWallet/googleAuth.d.ts +6 -0
  122. package/dist/wallets/walletConnectors/abcWallet/googleAuth.js +37 -1
  123. package/dist/wallets/walletConnectors/abcWallet/index.d.ts +5 -3
  124. package/dist/wallets/walletConnectors/abcWallet/index.js +44 -31
  125. package/dist/wallets/walletConnectors/abcWallet/kakaoAuth.d.ts +27 -0
  126. package/dist/wallets/walletConnectors/abcWallet/kakaoAuth.js +290 -0
  127. package/dist/wallets/walletConnectors/abcWallet/networkConfig.d.ts +39 -3
  128. package/dist/wallets/walletConnectors/abcWallet/networkConfig.js +11 -3
  129. package/dist/wallets/walletConnectors/abcWallet/secure.js +2 -2
  130. package/dist/wallets/walletConnectors/abcWallet/sessionUtils.js +1 -1
  131. package/dist/wallets/walletConnectors/abcWallet/types.d.ts +369 -7
  132. package/dist/wallets/walletConnectors/abcWallet/types.js +5 -3
  133. package/dist/wallets/walletConnectors/abcWallet/utils.js +3 -3
  134. package/dist/wallets/walletConnectors/abcWallet/walletGeneration.d.ts +10 -19
  135. package/dist/wallets/walletConnectors/abcWallet/walletGeneration.js +2 -2
  136. package/dist/wallets/walletConnectors/berasigWallet/berasigWallet.js +2 -2
  137. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  138. package/dist/wallets/walletConnectors/binanceWallet/binanceWallet.js +2 -2
  139. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  140. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  141. package/dist/wallets/walletConnectors/chunk-25V3FW3O.js +282 -0
  142. package/dist/wallets/walletConnectors/chunk-27346T3J.js +134 -0
  143. package/dist/wallets/walletConnectors/chunk-5CNLMOB2.js +75 -0
  144. package/dist/wallets/walletConnectors/chunk-5K45TCAM.js +333 -0
  145. package/dist/wallets/walletConnectors/chunk-5VDSMZC4.js +286 -0
  146. package/dist/wallets/walletConnectors/chunk-5W7RBMPH.js +351 -0
  147. package/dist/wallets/walletConnectors/chunk-5XORKEWE.js +326 -0
  148. package/dist/wallets/walletConnectors/chunk-63WBO52A.js +77 -0
  149. package/dist/wallets/walletConnectors/chunk-7IRF225N.js +75 -0
  150. package/dist/wallets/walletConnectors/chunk-7QHCSJDN.js +726 -0
  151. package/dist/wallets/walletConnectors/chunk-A27H6PEU.js +739 -0
  152. package/dist/wallets/walletConnectors/chunk-A4WR3CFN.js +130 -0
  153. package/dist/wallets/walletConnectors/chunk-A6FUNQWF.js +572 -0
  154. package/dist/wallets/walletConnectors/chunk-AF4OCS7N.js +46 -0
  155. package/dist/wallets/walletConnectors/chunk-AFWBXEEC.js +66 -0
  156. package/dist/wallets/walletConnectors/chunk-AUGP2LJR.js +182 -0
  157. package/dist/wallets/walletConnectors/chunk-AWLDVQXC.js +317 -0
  158. package/dist/wallets/walletConnectors/chunk-BLEKTKBN.js +479 -0
  159. package/dist/wallets/walletConnectors/chunk-BVL6G5HI.js +1757 -0
  160. package/dist/wallets/walletConnectors/chunk-CMTGEHDI.js +485 -0
  161. package/dist/wallets/walletConnectors/chunk-D5EFTEOM.js +56 -0
  162. package/dist/wallets/walletConnectors/chunk-DM5NLSWD.js +346 -0
  163. package/dist/wallets/walletConnectors/chunk-EBGI4D2T.js +69 -0
  164. package/dist/wallets/walletConnectors/chunk-EEH2HMFG.js +47 -0
  165. package/dist/wallets/walletConnectors/chunk-F5JWDBKK.js +47 -0
  166. package/dist/wallets/walletConnectors/chunk-FN67MIIH.js +75 -0
  167. package/dist/wallets/walletConnectors/chunk-FWYVBX5F.js +75 -0
  168. package/dist/wallets/walletConnectors/chunk-GH6ZDY4K.js +58 -0
  169. package/dist/wallets/walletConnectors/chunk-GIJZMIBD.js +63 -0
  170. package/dist/wallets/walletConnectors/chunk-GO6OLTNF.js +479 -0
  171. package/dist/wallets/walletConnectors/chunk-HKXBK3NY.js +75 -0
  172. package/dist/wallets/walletConnectors/chunk-HMD2WWFQ.js +75 -0
  173. package/dist/wallets/walletConnectors/chunk-HO5Z2CTL.js +280 -0
  174. package/dist/wallets/walletConnectors/chunk-I3GFVK5O.js +151 -0
  175. package/dist/wallets/walletConnectors/chunk-IUHZ5ZCE.js +121 -0
  176. package/dist/wallets/walletConnectors/chunk-JODNZWWG.js +330 -0
  177. package/dist/wallets/walletConnectors/chunk-JTST3KMW.js +75 -0
  178. package/dist/wallets/walletConnectors/chunk-KH2L3ONV.js +1599 -0
  179. package/dist/wallets/walletConnectors/chunk-LHV22375.js +182 -0
  180. package/dist/wallets/walletConnectors/chunk-LZZE462U.js +315 -0
  181. package/dist/wallets/walletConnectors/chunk-MGCRUAHX.js +276 -0
  182. package/dist/wallets/walletConnectors/chunk-MURSKRMJ.js +63 -0
  183. package/dist/wallets/walletConnectors/chunk-NG7PSAPX.js +115 -0
  184. package/dist/wallets/walletConnectors/chunk-NHP6D6AH.js +204 -0
  185. package/dist/wallets/walletConnectors/chunk-O4AU63LK.js +181 -0
  186. package/dist/wallets/walletConnectors/chunk-OBS74J5N.js +221 -0
  187. package/dist/wallets/walletConnectors/chunk-ON4U54WO.js +115 -0
  188. package/dist/wallets/walletConnectors/chunk-PPYBE5TV.js +276 -0
  189. package/dist/wallets/walletConnectors/chunk-PWWSAM4G.js +309 -0
  190. package/dist/wallets/walletConnectors/chunk-QB5GDLRU.js +330 -0
  191. package/dist/wallets/walletConnectors/chunk-QMLG7MAP.js +107 -0
  192. package/dist/wallets/walletConnectors/chunk-RGIB7FFH.js +47 -0
  193. package/dist/wallets/walletConnectors/chunk-SHJBMDP4.js +278 -0
  194. package/dist/wallets/walletConnectors/chunk-SOBJYYIX.js +484 -0
  195. package/dist/wallets/walletConnectors/chunk-T66U3ADD.js +58 -0
  196. package/dist/wallets/walletConnectors/chunk-THCKLFSJ.js +75 -0
  197. package/dist/wallets/walletConnectors/chunk-TS466TDR.js +286 -0
  198. package/dist/wallets/walletConnectors/chunk-UJGFYQEV.js +459 -0
  199. package/dist/wallets/walletConnectors/chunk-UXNEBBUV.js +224 -0
  200. package/dist/wallets/walletConnectors/chunk-VRCNFVPM.js +276 -0
  201. package/dist/wallets/walletConnectors/chunk-WODNUC65.js +333 -0
  202. package/dist/wallets/walletConnectors/chunk-X6A2FSHK.js +484 -0
  203. package/dist/wallets/walletConnectors/chunk-XVRNEES5.js +1541 -0
  204. package/dist/wallets/walletConnectors/chunk-XWVM2Y5A.js +306 -0
  205. package/dist/wallets/walletConnectors/chunk-XXG7ABSJ.js +328 -0
  206. package/dist/wallets/walletConnectors/chunk-YJH4BHSB.js +254 -0
  207. package/dist/wallets/walletConnectors/chunk-YRDNIP2H.js +90 -0
  208. package/dist/wallets/walletConnectors/chunk-YTPAWPCA.js +156 -0
  209. package/dist/wallets/walletConnectors/chunk-ZCSHD7UG.js +562 -0
  210. package/dist/wallets/walletConnectors/chunk-ZZCZ3RJU.js +272 -0
  211. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  212. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  213. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  214. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  215. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  216. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  217. package/dist/wallets/walletConnectors/index.js +62 -61
  218. package/dist/wallets/walletConnectors/iopayWallet/iopayWallet.js +2 -2
  219. package/dist/wallets/walletConnectors/kaiaWallet/kaiaWallet.js +2 -2
  220. package/dist/wallets/walletConnectors/kaikasWallet/kaikasWallet.js +2 -2
  221. package/dist/wallets/walletConnectors/klipWallet/klipWallet.d.ts +3 -0
  222. package/dist/wallets/walletConnectors/klipWallet/klipWallet.js +8 -0
  223. package/dist/wallets/walletConnectors/klipWallet-PPTYYB5G.js +7 -0
  224. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  225. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  226. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  227. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  228. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  229. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  230. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  231. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  232. package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +2 -2
  233. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  234. package/package.json +2 -1
@@ -0,0 +1,726 @@
1
+ "use client";
2
+
3
+ // src/config/networks.ts
4
+ var NETWORK_CONFIGS = {
5
+ // Ethereum Mainnet
6
+ 1: {
7
+ chainId: 1,
8
+ network: "ethereum",
9
+ name: "Ethereum",
10
+ type: "EVM" /* EVM */,
11
+ isTestnet: false,
12
+ explorer: "https://etherscan.io",
13
+ website: "https://ethereum.org",
14
+ nativeCurrency: {
15
+ name: "Ether",
16
+ symbol: "ETH",
17
+ decimals: 18
18
+ },
19
+ apiSupport: { tokens: true, nft: true, transactions: true },
20
+ signSupport: { legacy: true, eip1559: true }
21
+ },
22
+ // Ethereum Sepolia Testnet
23
+ 11155111: {
24
+ chainId: 11155111,
25
+ network: "ethereum_sepolia",
26
+ name: "Ethereum Sepolia",
27
+ type: "EVM" /* EVM */,
28
+ isTestnet: true,
29
+ explorer: "https://sepolia.etherscan.io",
30
+ website: "https://ethereum.org",
31
+ nativeCurrency: {
32
+ name: "Sepolia Ether",
33
+ symbol: "ETH",
34
+ decimals: 18
35
+ },
36
+ apiSupport: { tokens: true, nft: true, transactions: true },
37
+ signSupport: { legacy: true, eip1559: true }
38
+ },
39
+ // Ethereum Holesky Testnet
40
+ 17e3: {
41
+ chainId: 17e3,
42
+ network: "ethereum_holesky",
43
+ name: "Ethereum Holesky",
44
+ type: "EVM" /* EVM */,
45
+ isTestnet: true,
46
+ explorer: "https://holesky.etherscan.io",
47
+ website: "https://ethereum.org",
48
+ nativeCurrency: {
49
+ name: "Holesky Ether",
50
+ symbol: "ETH",
51
+ decimals: 18
52
+ },
53
+ apiSupport: { tokens: true, nft: true, transactions: true },
54
+ signSupport: { legacy: true, eip1559: true }
55
+ },
56
+ // Kaia Mainnet (formerly Klaytn)
57
+ 8217: {
58
+ chainId: 8217,
59
+ network: "kaia",
60
+ name: "Kaia Mainnet",
61
+ type: "EVM" /* EVM */,
62
+ isTestnet: false,
63
+ explorer: "https://kaiascan.io",
64
+ website: "https://kaia.io",
65
+ nativeCurrency: {
66
+ name: "Kaia",
67
+ symbol: "KAIA",
68
+ decimals: 18
69
+ },
70
+ apiSupport: { tokens: true, nft: true, transactions: true },
71
+ signSupport: { legacy: true, eip1559: true }
72
+ },
73
+ // Kaia Kairos Testnet
74
+ 1001: {
75
+ chainId: 1001,
76
+ network: "kaia_kairos",
77
+ name: "Kaia Kairos Testnet",
78
+ type: "EVM" /* EVM */,
79
+ isTestnet: true,
80
+ explorer: "https://kairos.kaiascan.io",
81
+ website: "https://kaia.io",
82
+ nativeCurrency: {
83
+ name: "Kaia",
84
+ symbol: "KAIA",
85
+ decimals: 18
86
+ },
87
+ apiSupport: { tokens: true, nft: true, transactions: true },
88
+ signSupport: { legacy: true, eip1559: true }
89
+ },
90
+ // Polygon Mainnet
91
+ 137: {
92
+ chainId: 137,
93
+ network: "polygon",
94
+ name: "Polygon",
95
+ type: "EVM" /* EVM */,
96
+ isTestnet: false,
97
+ explorer: "https://polygonscan.com",
98
+ website: "https://polygon.technology",
99
+ nativeCurrency: {
100
+ name: "MATIC",
101
+ symbol: "MATIC",
102
+ decimals: 18
103
+ },
104
+ apiSupport: { tokens: true, nft: true, transactions: true },
105
+ signSupport: { legacy: true, eip1559: true }
106
+ },
107
+ // Polygon Amoy Testnet
108
+ 80001: {
109
+ chainId: 80001,
110
+ network: "polygon_amoy",
111
+ name: "Polygon Amoy Testnet",
112
+ type: "EVM" /* EVM */,
113
+ isTestnet: true,
114
+ explorer: "https://amoy.polygonscan.com",
115
+ website: "https://polygon.technology",
116
+ nativeCurrency: {
117
+ name: "MATIC",
118
+ symbol: "MATIC",
119
+ decimals: 18
120
+ },
121
+ apiSupport: { tokens: true, nft: true, transactions: true },
122
+ signSupport: { legacy: true, eip1559: true }
123
+ },
124
+ // Binance Smart Chain Mainnet
125
+ 56: {
126
+ chainId: 56,
127
+ network: "binance",
128
+ name: "Binance Smart Chain Mainnet",
129
+ type: "EVM" /* EVM */,
130
+ isTestnet: false,
131
+ explorer: "https://bscscan.com",
132
+ website: "https://www.bnbchain.org/en/bnb-smart-chain",
133
+ nativeCurrency: {
134
+ name: "BNB",
135
+ symbol: "BNB",
136
+ decimals: 18
137
+ },
138
+ apiSupport: { tokens: true, nft: true, transactions: true },
139
+ signSupport: { legacy: true, eip1559: true }
140
+ },
141
+ // Binance Smart Chain Testnet
142
+ 97: {
143
+ chainId: 97,
144
+ network: "binance_testnet",
145
+ name: "Binance Smart Chain Testnet",
146
+ type: "EVM" /* EVM */,
147
+ isTestnet: true,
148
+ explorer: "https://testnet.bscscan.com",
149
+ website: "https://www.bnbchain.org/en/bnb-smart-chain",
150
+ nativeCurrency: {
151
+ name: "BNB",
152
+ symbol: "BNB",
153
+ decimals: 18
154
+ },
155
+ apiSupport: { tokens: true, nft: true, transactions: true },
156
+ signSupport: { legacy: true, eip1559: true }
157
+ },
158
+ // Arbitrum One
159
+ 42161: {
160
+ chainId: 42161,
161
+ network: "arbitrum",
162
+ name: "Arbitrum One",
163
+ type: "EVM" /* EVM */,
164
+ isTestnet: false,
165
+ explorer: "https://arbiscan.io",
166
+ website: "https://arbitrum.io",
167
+ nativeCurrency: {
168
+ name: "Ether",
169
+ symbol: "ETH",
170
+ decimals: 18
171
+ },
172
+ apiSupport: { tokens: true, nft: true, transactions: true },
173
+ signSupport: { legacy: true, eip1559: true }
174
+ },
175
+ // Arbitrum Sepolia
176
+ 421614: {
177
+ chainId: 421614,
178
+ network: "arbitrum_sepolia",
179
+ name: "Arbitrum Sepolia",
180
+ type: "EVM" /* EVM */,
181
+ isTestnet: true,
182
+ explorer: "https://sepolia.arbiscan.io",
183
+ website: "https://arbitrum.io",
184
+ nativeCurrency: {
185
+ name: "Ether",
186
+ symbol: "ETH",
187
+ decimals: 18
188
+ },
189
+ apiSupport: { tokens: true, nft: true, transactions: true },
190
+ signSupport: { legacy: true, eip1559: true }
191
+ },
192
+ // Optimism Mainnet
193
+ 10: {
194
+ chainId: 10,
195
+ network: "optimism",
196
+ name: "Optimism",
197
+ type: "EVM" /* EVM */,
198
+ isTestnet: false,
199
+ explorer: "https://optimistic.etherscan.io",
200
+ website: "https://optimism.io",
201
+ nativeCurrency: {
202
+ name: "Ether",
203
+ symbol: "ETH",
204
+ decimals: 18
205
+ },
206
+ apiSupport: { tokens: true, nft: true, transactions: true },
207
+ signSupport: { legacy: true, eip1559: true }
208
+ },
209
+ // Optimism Sepolia
210
+ 420: {
211
+ chainId: 420,
212
+ network: "optimism_sepolia",
213
+ name: "Optimism Sepolia",
214
+ type: "EVM" /* EVM */,
215
+ isTestnet: true,
216
+ explorer: "https://sepolia-optimism.etherscan.io",
217
+ website: "https://optimism.io",
218
+ nativeCurrency: {
219
+ name: "Ether",
220
+ symbol: "ETH",
221
+ decimals: 18
222
+ },
223
+ apiSupport: { tokens: true, nft: true, transactions: true },
224
+ signSupport: { legacy: true, eip1559: true }
225
+ },
226
+ // Avalanche C-Chain
227
+ 43114: {
228
+ chainId: 43114,
229
+ network: "avalanche",
230
+ name: "Avalanche C-Chain",
231
+ type: "EVM" /* EVM */,
232
+ isTestnet: false,
233
+ explorer: "https://avascan.info/blockchain/c/home",
234
+ website: "https://avax.network",
235
+ nativeCurrency: {
236
+ name: "Avalanche",
237
+ symbol: "AVAX",
238
+ decimals: 18
239
+ },
240
+ apiSupport: { tokens: true, nft: true, transactions: true },
241
+ signSupport: { legacy: true, eip1559: true }
242
+ },
243
+ // Avalanche Fuji Testnet
244
+ 43113: {
245
+ chainId: 43113,
246
+ network: "avalanche_fuji",
247
+ name: "Avalanche Fuji Testnet",
248
+ type: "EVM" /* EVM */,
249
+ isTestnet: true,
250
+ explorer: "https://testnet.avascan.info",
251
+ website: "https://avax.network",
252
+ nativeCurrency: {
253
+ name: "Avalanche",
254
+ symbol: "AVAX",
255
+ decimals: 18
256
+ },
257
+ apiSupport: { tokens: false, nft: false, transactions: false },
258
+ signSupport: { legacy: true, eip1559: true }
259
+ },
260
+ // Mantle Mainnet
261
+ 5e3: {
262
+ chainId: 5e3,
263
+ network: "mantle",
264
+ name: "Mantle Mainnet",
265
+ type: "EVM" /* EVM */,
266
+ isTestnet: false,
267
+ explorer: "https://explorer.mantle.xyz",
268
+ website: "https://www.mantle.xyz",
269
+ nativeCurrency: {
270
+ name: "Mantle",
271
+ symbol: "MNT",
272
+ decimals: 18
273
+ },
274
+ apiSupport: { tokens: true, nft: true, transactions: true },
275
+ signSupport: { legacy: true, eip1559: true }
276
+ },
277
+ // Mantle Testnet
278
+ 5001: {
279
+ chainId: 5001,
280
+ network: "mantle_testnet",
281
+ name: "Mantle Testnet",
282
+ type: "EVM" /* EVM */,
283
+ isTestnet: true,
284
+ explorer: "https://sepolia.mantlescan.xyz",
285
+ website: "https://www.mantle.xyz",
286
+ nativeCurrency: {
287
+ name: "Mantle",
288
+ symbol: "MNT",
289
+ decimals: 18
290
+ },
291
+ apiSupport: { tokens: true, nft: true, transactions: true },
292
+ signSupport: { legacy: true, eip1559: true }
293
+ },
294
+ // Moonbeam
295
+ 1284: {
296
+ chainId: 1284,
297
+ network: "moonbeam",
298
+ name: "Moonbeam",
299
+ type: "EVM" /* EVM */,
300
+ isTestnet: false,
301
+ explorer: "https://moonbeam.moonscan.io",
302
+ website: "https://moonbeam.network",
303
+ nativeCurrency: {
304
+ name: "Glimmer",
305
+ symbol: "GLMR",
306
+ decimals: 18
307
+ },
308
+ apiSupport: { tokens: true, nft: true, transactions: true },
309
+ signSupport: { legacy: true, eip1559: true }
310
+ },
311
+ // Moonriver
312
+ 1285: {
313
+ chainId: 1285,
314
+ network: "moonriver",
315
+ name: "Moonriver",
316
+ type: "EVM" /* EVM */,
317
+ isTestnet: false,
318
+ explorer: "https://moonriver.moonscan.io",
319
+ website: "https://moonbeam.network/networks/moonriver",
320
+ nativeCurrency: {
321
+ name: "Moonriver",
322
+ symbol: "MOVR",
323
+ decimals: 18
324
+ },
325
+ apiSupport: { tokens: true, nft: true, transactions: true },
326
+ signSupport: { legacy: true, eip1559: true }
327
+ },
328
+ // Scroll Mainnet
329
+ 534352: {
330
+ chainId: 534352,
331
+ network: "scroll",
332
+ name: "Scroll",
333
+ type: "EVM" /* EVM */,
334
+ isTestnet: false,
335
+ explorer: "https://scrollscan.co",
336
+ website: "https://scroll.io",
337
+ nativeCurrency: {
338
+ name: "Ether",
339
+ symbol: "ETH",
340
+ decimals: 18
341
+ },
342
+ apiSupport: { tokens: true, nft: true, transactions: true },
343
+ signSupport: { legacy: true, eip1559: true }
344
+ },
345
+ // Scroll Testnet
346
+ 534351: {
347
+ chainId: 534351,
348
+ network: "scroll_testnet",
349
+ name: "Scroll Testnet",
350
+ type: "EVM" /* EVM */,
351
+ isTestnet: true,
352
+ explorer: "https://sepolia.scrollscan.com",
353
+ website: "https://scroll.io",
354
+ nativeCurrency: {
355
+ name: "Ether",
356
+ symbol: "ETH",
357
+ decimals: 18
358
+ },
359
+ apiSupport: { tokens: true, nft: true, transactions: true },
360
+ signSupport: { legacy: true, eip1559: true }
361
+ },
362
+ // Silicon Mainnet
363
+ 2355: {
364
+ chainId: 2355,
365
+ network: "silicon",
366
+ name: "Silicon",
367
+ type: "EVM" /* EVM */,
368
+ isTestnet: false,
369
+ explorer: "https://scope.silicon.network",
370
+ website: "https://silicon.network",
371
+ nativeCurrency: {
372
+ name: "Ether",
373
+ symbol: "ETH",
374
+ decimals: 18
375
+ },
376
+ apiSupport: { tokens: true, nft: true, transactions: true },
377
+ signSupport: { legacy: true, eip1559: true }
378
+ },
379
+ // Silicon Sepolia
380
+ 1722641160: {
381
+ chainId: 1722641160,
382
+ network: "silicon_sepolia",
383
+ name: "Silicon Sepolia",
384
+ type: "EVM" /* EVM */,
385
+ isTestnet: true,
386
+ explorer: "https://scope-sepolia.silicon.network",
387
+ website: "https://silicon.network",
388
+ nativeCurrency: {
389
+ name: "Ether",
390
+ symbol: "ETH",
391
+ decimals: 18
392
+ },
393
+ apiSupport: { tokens: true, nft: true, transactions: true },
394
+ signSupport: { legacy: true, eip1559: true }
395
+ },
396
+ // Six Protocol
397
+ 98: {
398
+ chainId: 98,
399
+ network: "six_evm",
400
+ name: "Six Protocol",
401
+ type: "EVM" /* EVM */,
402
+ isTestnet: false,
403
+ explorer: "https://v2.sixscan.io",
404
+ website: "https://www.six.network",
405
+ nativeCurrency: {
406
+ name: "SIX",
407
+ symbol: "SIX",
408
+ decimals: 18
409
+ },
410
+ apiSupport: { tokens: true, nft: false, transactions: true },
411
+ signSupport: { legacy: true, eip1559: false }
412
+ },
413
+ // Six Protocol Testnet
414
+ 150: {
415
+ chainId: 150,
416
+ network: "six_evm_testnet",
417
+ name: "Six Protocol Testnet",
418
+ type: "EVM" /* EVM */,
419
+ isTestnet: true,
420
+ explorer: "https://v2.fivenet.sixscan.io",
421
+ website: "https://www.six.network",
422
+ nativeCurrency: {
423
+ name: "SIX",
424
+ symbol: "SIX",
425
+ decimals: 18
426
+ },
427
+ apiSupport: { tokens: true, nft: false, transactions: true },
428
+ signSupport: { legacy: true, eip1559: false }
429
+ },
430
+ // Wemix Mainnet
431
+ 1111: {
432
+ chainId: 1111,
433
+ network: "wemix",
434
+ name: "Wemix3.0 Mainnet",
435
+ type: "EVM" /* EVM */,
436
+ isTestnet: false,
437
+ explorer: "https://explorer.wemix.com",
438
+ website: "https://wemix.com",
439
+ nativeCurrency: {
440
+ name: "WEMIX",
441
+ symbol: "WEMIX",
442
+ decimals: 18
443
+ },
444
+ apiSupport: { tokens: true, nft: true, transactions: true },
445
+ signSupport: { legacy: true, eip1559: true }
446
+ },
447
+ // Wemix Testnet
448
+ 1112: {
449
+ chainId: 1112,
450
+ network: "wemix_testnet",
451
+ name: "Wemix3.0 Testnet",
452
+ type: "EVM" /* EVM */,
453
+ isTestnet: true,
454
+ explorer: "https://explorer.test.wemix.com",
455
+ website: "https://wemix.com",
456
+ nativeCurrency: {
457
+ name: "WEMIX",
458
+ symbol: "WEMIX",
459
+ decimals: 18
460
+ },
461
+ apiSupport: { tokens: true, nft: true, transactions: true },
462
+ signSupport: { legacy: true, eip1559: true }
463
+ },
464
+ // Taiko Mainnet
465
+ 167e3: {
466
+ chainId: 167e3,
467
+ network: "taiko",
468
+ name: "Taiko Mainnet",
469
+ type: "EVM" /* EVM */,
470
+ isTestnet: false,
471
+ explorer: "https://taikoscan.io",
472
+ website: "https://taiko.xyz",
473
+ nativeCurrency: {
474
+ name: "Ether",
475
+ symbol: "ETH",
476
+ decimals: 18
477
+ },
478
+ apiSupport: { tokens: true, nft: true, transactions: true },
479
+ signSupport: { legacy: true, eip1559: true }
480
+ },
481
+ // Taiko Hekla Testnet
482
+ 167009: {
483
+ chainId: 167009,
484
+ network: "taiko_hekla",
485
+ name: "Taiko Hekla Testnet",
486
+ type: "EVM" /* EVM */,
487
+ isTestnet: true,
488
+ explorer: "https://hekla.taikoscan.io",
489
+ website: "https://taiko.xyz",
490
+ nativeCurrency: {
491
+ name: "Ether",
492
+ symbol: "ETH",
493
+ decimals: 18
494
+ },
495
+ apiSupport: { tokens: true, nft: true, transactions: true },
496
+ signSupport: { legacy: true, eip1559: true }
497
+ },
498
+ // Base Mainnet
499
+ 8453: {
500
+ chainId: 8453,
501
+ network: "base",
502
+ name: "Base",
503
+ type: "EVM" /* EVM */,
504
+ isTestnet: false,
505
+ explorer: "https://basescan.org",
506
+ website: "https://base.org",
507
+ nativeCurrency: {
508
+ name: "Ether",
509
+ symbol: "ETH",
510
+ decimals: 18
511
+ },
512
+ apiSupport: { tokens: true, nft: true, transactions: true },
513
+ signSupport: { legacy: true, eip1559: true }
514
+ },
515
+ // Base Sepolia Testnet
516
+ 84532: {
517
+ chainId: 84532,
518
+ network: "base_sepolia",
519
+ name: "Base Sepolia",
520
+ type: "EVM" /* EVM */,
521
+ isTestnet: true,
522
+ explorer: "https://sepolia.basescan.org",
523
+ website: "https://base.org",
524
+ nativeCurrency: {
525
+ name: "Ether",
526
+ symbol: "ETH",
527
+ decimals: 18
528
+ },
529
+ apiSupport: { tokens: true, nft: true, transactions: true },
530
+ signSupport: { legacy: true, eip1559: true }
531
+ },
532
+ // ChainBounty Mainnet
533
+ 51828: {
534
+ chainId: 51828,
535
+ network: "chainbounty",
536
+ name: "ChainBounty Mainnet",
537
+ type: "EVM" /* EVM */,
538
+ isTestnet: false,
539
+ explorer: "https://scan.chainbounty.io",
540
+ website: "https://chainbounty.io",
541
+ nativeCurrency: {
542
+ name: "ChainBounty",
543
+ symbol: "CBY",
544
+ decimals: 18
545
+ },
546
+ apiSupport: { tokens: true, nft: true, transactions: true },
547
+ signSupport: { legacy: true, eip1559: true }
548
+ },
549
+ // ChainBounty Testnet
550
+ 56580: {
551
+ chainId: 56580,
552
+ network: "chainbounty_testnet",
553
+ name: "ChainBounty Testnet",
554
+ type: "EVM" /* EVM */,
555
+ isTestnet: true,
556
+ explorer: "https://test.scan.chainbounty.io",
557
+ website: "https://chainbounty.io",
558
+ nativeCurrency: {
559
+ name: "ChainBounty",
560
+ symbol: "CBY",
561
+ decimals: 18
562
+ },
563
+ apiSupport: { tokens: true, nft: true, transactions: true },
564
+ signSupport: { legacy: true, eip1559: true }
565
+ },
566
+ // Aptos Mainnet (Non-EVM)
567
+ aptos: {
568
+ chainId: null,
569
+ network: "aptos",
570
+ name: "Aptos",
571
+ type: "Non-EVM" /* NON_EVM */,
572
+ isTestnet: false,
573
+ explorer: "https://explorer.aptoslabs.com/?network=mainnet",
574
+ website: "https://aptos.dev",
575
+ nativeCurrency: {
576
+ name: "Aptos",
577
+ symbol: "APT",
578
+ decimals: 8
579
+ },
580
+ apiSupport: { tokens: true, nft: true, transactions: true },
581
+ signSupport: { legacy: true, eip1559: false }
582
+ },
583
+ // Aptos Testnet (Non-EVM)
584
+ aptos_testnet: {
585
+ chainId: null,
586
+ network: "aptos_testnet",
587
+ name: "Aptos Testnet",
588
+ type: "Non-EVM" /* NON_EVM */,
589
+ isTestnet: true,
590
+ explorer: "https://explorer.aptoslabs.com/?network=testnet",
591
+ website: "https://aptos.dev",
592
+ nativeCurrency: {
593
+ name: "Aptos",
594
+ symbol: "APT",
595
+ decimals: 8
596
+ },
597
+ apiSupport: { tokens: true, nft: true, transactions: true },
598
+ signSupport: { legacy: true, eip1559: false }
599
+ },
600
+ // Bitcoin Mainnet
601
+ bitcoin: {
602
+ chainId: null,
603
+ network: "bitcoin",
604
+ name: "Bitcoin Mainnet",
605
+ type: "Bitcoin" /* BITCOIN */,
606
+ isTestnet: false,
607
+ explorer: "https://blockstream.info",
608
+ website: "https://bitcoin.org",
609
+ nativeCurrency: {
610
+ name: "Bitcoin",
611
+ symbol: "BTC",
612
+ decimals: 8
613
+ },
614
+ apiSupport: { tokens: true, nft: false, transactions: true },
615
+ signSupport: { legacy: true, eip1559: false }
616
+ },
617
+ // Bitcoin Testnet
618
+ bitcoin_testnet: {
619
+ chainId: null,
620
+ network: "bitcoin_testnet",
621
+ name: "Bitcoin Testnet",
622
+ type: "Bitcoin" /* BITCOIN */,
623
+ isTestnet: true,
624
+ explorer: "https://blockstream.info/testnet",
625
+ website: "https://bitcoin.org",
626
+ nativeCurrency: {
627
+ name: "Bitcoin",
628
+ symbol: "BTC",
629
+ decimals: 8
630
+ },
631
+ apiSupport: { tokens: true, nft: false, transactions: true },
632
+ signSupport: { legacy: true, eip1559: false }
633
+ },
634
+ // Tron Mainnet
635
+ tron: {
636
+ chainId: null,
637
+ network: "tron",
638
+ name: "Tron Mainnet",
639
+ type: "TRX" /* TRON */,
640
+ isTestnet: false,
641
+ explorer: "https://tronscan.org",
642
+ website: "https://tron.network",
643
+ nativeCurrency: {
644
+ name: "Tronix",
645
+ symbol: "TRX",
646
+ decimals: 6
647
+ },
648
+ apiSupport: { tokens: true, nft: true, transactions: true },
649
+ signSupport: { legacy: true, eip1559: true }
650
+ },
651
+ // Tron Nile Testnet
652
+ tron_nile: {
653
+ chainId: null,
654
+ network: "tron_nile",
655
+ name: "Tron Nile Testnet",
656
+ type: "TRX" /* TRON */,
657
+ isTestnet: true,
658
+ explorer: "https://nile.tronscan.org",
659
+ website: "https://tron.network",
660
+ nativeCurrency: {
661
+ name: "Tronix",
662
+ symbol: "TRX",
663
+ decimals: 6
664
+ },
665
+ apiSupport: { tokens: true, nft: true, transactions: true },
666
+ signSupport: { legacy: true, eip1559: true }
667
+ },
668
+ // ICP Mainnet
669
+ icp: {
670
+ chainId: null,
671
+ network: "icp",
672
+ name: "Internet Computer",
673
+ type: "ICP" /* ICP */,
674
+ isTestnet: false,
675
+ explorer: "https://dashboard.internetcomputer.org",
676
+ website: "https://internetcomputer.org",
677
+ nativeCurrency: {
678
+ name: "ICP",
679
+ symbol: "ICP",
680
+ decimals: 8
681
+ },
682
+ apiSupport: { tokens: true, nft: true, transactions: true },
683
+ signSupport: { legacy: true, eip1559: true }
684
+ }
685
+ };
686
+ var NETWORK_BY_PARAM = Object.values(
687
+ NETWORK_CONFIGS
688
+ ).reduce(
689
+ (acc, config) => {
690
+ acc[config.network] = config;
691
+ return acc;
692
+ },
693
+ {}
694
+ );
695
+ function getNetworkName(chainId, fallback = "ethereum") {
696
+ return NETWORK_CONFIGS[chainId]?.network ?? fallback;
697
+ }
698
+ var CHAIN_ID_TO_KEY = {
699
+ // Mainnet
700
+ 1: "ethereum",
701
+ 42161: "arbitrum",
702
+ 8217: "kaia",
703
+ 56: "bsc",
704
+ 8453: "base",
705
+ 137: "polygon",
706
+ // Testnet
707
+ 11155111: "sepolia",
708
+ 421614: "arbitrumSepolia",
709
+ 1001: "kaiaKairos",
710
+ 97: "bscTestnet",
711
+ 84532: "baseSepolia",
712
+ 80002: "polygonAmoy",
713
+ 998: "hyperevmTestnet"
714
+ };
715
+ function getChainKey(chainId) {
716
+ const key = CHAIN_ID_TO_KEY[chainId];
717
+ if (!key) {
718
+ throw new Error(`Unsupported chainId for tx endpoint: ${chainId}`);
719
+ }
720
+ return key;
721
+ }
722
+
723
+ export {
724
+ getNetworkName,
725
+ getChainKey
726
+ };