From d2559785d2ec3bf7403b306467e256d3cda33811 Mon Sep 17 00:00:00 2001 From: Shobhit B Date: Mon, 5 Jan 2026 16:31:28 +0530 Subject: [PATCH] fix: added mainnet token details TICKET: WIN-8039 --- modules/statics/src/allCoinsAndTokens.ts | 28 +++++++++++++++---- modules/statics/src/coins/ofcCoins.ts | 4 +-- modules/statics/src/networks.ts | 14 ++++++++-- .../unit/fixtures/expectedColdFeatures.ts | 1 + 4 files changed, 37 insertions(+), 10 deletions(-) diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 7a47378048..c74abd55f2 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -2470,11 +2470,11 @@ export const allCoinsAndTokens = [ account( 'cf06d1ea-f7c4-4a26-95fd-f71983eba58f', 'tarc', - 'ARC Testnet', + 'Arc Testnet', Networks.test.arc, 18, UnderlyingAsset.ARC, - BaseUnit.USDC, + BaseUnit.ETH, [ ...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, @@ -2484,10 +2484,26 @@ export const allCoinsAndTokens = [ CoinFeature.EVM_NON_BITGO_RECOVERY, CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY, CoinFeature.EVM_COMPATIBLE_WP, - ], - KeyCurve.Secp256k1, - '', - 'TARC' + ] + ), + account( + '733c4da8-52f7-4f9f-a7dc-897c81453fee', + 'arc', + 'Arc', + Networks.main.arc, + 18, + UnderlyingAsset.ARC, + BaseUnit.ETH, + [ + ...EVM_FEATURES, + CoinFeature.SHARED_EVM_SIGNING, + CoinFeature.SHARED_EVM_SDK, + CoinFeature.EVM_COMPATIBLE_IMS, + CoinFeature.EVM_COMPATIBLE_UI, + CoinFeature.EVM_NON_BITGO_RECOVERY, + CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY, + CoinFeature.EVM_COMPATIBLE_WP, + ] ), account( '92c6b706-87bc-4a4e-8dd4-2a2c83b724e4', diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index a726b22bf0..93bebd0a3e 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -3775,6 +3775,6 @@ export const ofcCoins = [ 6, UnderlyingAsset['tsui:deep'] ), - ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarc', 'ARC', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO), - tofc('bc57e64d-045e-4421-aa92-64db0c51e1d7', 'ofctarc', 'ARC Testnet', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO), + ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarc', 'Arc', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO), + tofc('bc57e64d-045e-4421-aa92-64db0c51e1d7', 'ofctarc', 'Arc Testnet', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO), ]; diff --git a/modules/statics/src/networks.ts b/modules/statics/src/networks.ts index 6e77878f77..bb2fea5803 100644 --- a/modules/statics/src/networks.ts +++ b/modules/statics/src/networks.ts @@ -2221,7 +2221,7 @@ class DogeosTestnet extends Testnet implements EthereumNetwork { } class ArcTestnet extends Testnet implements EthereumNetwork { - name = 'ARC Testnet'; + name = 'Arc Testnet'; family = CoinFamily.ARC; explorerUrl = 'https://testnet.arcscan.app/txs/'; accountExplorerUrl = 'https://testnet.arcscan.app/address/'; @@ -2229,6 +2229,15 @@ class ArcTestnet extends Testnet implements EthereumNetwork { nativeCoinOperationHashPrefix = '5042002'; } +class Arc extends Mainnet implements EthereumNetwork { + name = 'Arc'; + family = CoinFamily.ARC; + explorerUrl = 'https://testnet.arcscan.app/txs/'; // change to prod explorer url + accountExplorerUrl = 'https://testnet.arcscan.app/address/'; // change to prod explorer url when available + chainId = 5042002; // change to prod chain id when available + nativeCoinOperationHashPrefix = '5042002'; // change to prod native coin operation hash prefix when available +} + class Tempo extends Mainnet implements EthereumNetwork { name = 'Tempo'; family = CoinFamily.TEMPO; @@ -2256,6 +2265,7 @@ export const Networks = { apechain: Object.freeze(new ApeChain()), apt: Object.freeze(new Apt()), arbitrum: Object.freeze(new Arbitrum()), + arc: Object.freeze(new Arc()), asi: Object.freeze(new Asi()), atom: Object.freeze(new Atom()), avalancheC: Object.freeze(new AvalancheC()), @@ -2363,6 +2373,7 @@ export const Networks = { apechain: Object.freeze(new ApeChainTestnet()), apt: Object.freeze(new AptTestnet()), arbitrum: Object.freeze(new ArbitrumTestnet()), + arc: Object.freeze(new ArcTestnet()), asi: Object.freeze(new AsiTestnet()), atom: Object.freeze(new AtomTestnet()), avalancheC: Object.freeze(new AvalancheCTestnet()), @@ -2468,6 +2479,5 @@ export const Networks = { zCash: Object.freeze(new ZCashTestnet()), zeta: Object.freeze(new ZetaTestnet()), zkSync: Object.freeze(new ZkSyncTestnet()), - arc: Object.freeze(new ArcTestnet()), }, }; diff --git a/modules/statics/test/unit/fixtures/expectedColdFeatures.ts b/modules/statics/test/unit/fixtures/expectedColdFeatures.ts index df60205082..1967fff995 100644 --- a/modules/statics/test/unit/fixtures/expectedColdFeatures.ts +++ b/modules/statics/test/unit/fixtures/expectedColdFeatures.ts @@ -72,6 +72,7 @@ export const expectedColdFeatures = { 'ada', 'apechain', 'apt', + 'arc', 'asi', 'atom', 'baby',