From 83be67c2a866ae766e9c8d40852083988cc2757a Mon Sep 17 00:00:00 2001 From: Kushagra Sharma Date: Thu, 21 May 2026 21:36:38 +0000 Subject: [PATCH] feat(statics): add Katana Network EVM chain (katanaeth/tkatanaeth) Add Katana Network (OP Stack L2, chainId 747474/737373): - CoinFamily/UnderlyingAsset enums in correct K-section - KatanaEth/KatanaEthTestnet network classes - katanaeth/tkatanaeth coin entries with SHARED_EVM_SDK feature set - ofckatanaeth/ofctkatanaeth OFC entries - networkFeatureMapForTokens EIP1559 support - environments.ts explorer baseUrls - expectedColdFeatures fixture in correct K-section CECHO-808 Session-Id: 8ab51e6b-82e3-4e7e-ba09-df6ac12d5dc1 Task-Id: d5295202-8f29-446c-9376-7ea07893f1fd Co-authored-by: Cursor --- modules/sdk-core/src/bitgo/environments.ts | 6 ++++ modules/statics/src/allCoinsAndTokens.ts | 36 +++++++++++++++++++ modules/statics/src/base.ts | 2 ++ modules/statics/src/coins/ofcCoins.ts | 9 +++++ .../statics/src/networkFeatureMapForTokens.ts | 9 +++++ modules/statics/src/networks.ts | 19 ++++++++++ .../unit/fixtures/expectedColdFeatures.ts | 2 ++ 7 files changed, 83 insertions(+) diff --git a/modules/sdk-core/src/bitgo/environments.ts b/modules/sdk-core/src/bitgo/environments.ts index 21507c099c..3277e73f78 100644 --- a/modules/sdk-core/src/bitgo/environments.ts +++ b/modules/sdk-core/src/bitgo/environments.ts @@ -312,6 +312,9 @@ const mainnetBase: EnvironmentTemplate = { hemieth: { baseUrl: 'https://explorer.hemi.xyz/api', }, + katanaeth: { + baseUrl: 'https://katanascan.com/api', + }, inketh: { baseUrl: 'https://explorer.inkonchain.com/api', }, @@ -540,6 +543,9 @@ const testnetBase: EnvironmentTemplate = { hemieth: { baseUrl: 'https://testnet.explorer.hemi.xyz/api', }, + tkatanaeth: { + baseUrl: 'https://explorer-bokuto.katanarpc.com/api', + }, tinketh: { baseUrl: 'https://explorer-sepolia.inkonchain.com/api', }, diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 82f988b8ed..e9964b313d 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -2460,6 +2460,42 @@ export const allCoinsAndTokens = [ CoinFeature.SUPPORTS_ERC20, ] ), + account( + 'd7f76096-3b45-4136-bd1b-74e231c70fef', + 'katanaeth', + 'Katana', + Networks.main.katanaeth, + 18, + UnderlyingAsset.KATANAETH, + BaseUnit.ETH, + [ + ...EVM_FEATURES, + CoinFeature.SHARED_EVM_SIGNING, + CoinFeature.SHARED_EVM_SDK, + CoinFeature.EVM_COMPATIBLE_IMS, + CoinFeature.EVM_COMPATIBLE_UI, + CoinFeature.EVM_COMPATIBLE_WP, + CoinFeature.SUPPORTS_ERC20, + ] + ), + account( + 'dd0cf6a6-2723-42c4-a020-81a1238d8cc4', + 'tkatanaeth', + 'Testnet Katana', + Networks.test.katanaeth, + 18, + UnderlyingAsset.KATANAETH, + BaseUnit.ETH, + [ + ...EVM_FEATURES, + CoinFeature.SHARED_EVM_SIGNING, + CoinFeature.SHARED_EVM_SDK, + CoinFeature.EVM_COMPATIBLE_IMS, + CoinFeature.EVM_COMPATIBLE_UI, + CoinFeature.EVM_COMPATIBLE_WP, + CoinFeature.SUPPORTS_ERC20, + ] + ), account( '8bfa7960-008f-4aa0-b49a-589c3127dd46', 'tinketh', diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 810bf57c63..06e4bb160a 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -82,6 +82,7 @@ export enum CoinFamily { JOVAYETH = 'jovayeth', KAIA = 'kaia', KASPA = 'kaspa', + KATANAETH = 'katanaeth', // Katana Network L2 KAVACOSMOS = 'kavacosmos', KAVAEVM = 'kavaevm', LNBTC = 'lnbtc', @@ -653,6 +654,7 @@ export enum UnderlyingAsset { ISLM = 'islm', JOVAYETH = 'jovayeth', KAIA = 'kaia', + KATANAETH = 'katanaeth', // Katana Network L2 KAVACOSMOS = 'kavacosmos', KAVAEVM = 'kavaevm', LNBTC = 'lnbtc', diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index fb68b1cd82..251af88fd9 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -374,6 +374,15 @@ export const ofcCoins = [ UnderlyingAsset.LINEAETH, CoinKind.CRYPTO ), + ofc('84fdd183-ee79-478f-af9a-06ff420e654b', 'ofckatanaeth', 'Katana', 18, UnderlyingAsset.KATANAETH, CoinKind.CRYPTO), + tofc( + '4a912718-0ae2-4fbc-ae46-f3561e4b3a2a', + 'ofctkatanaeth', + 'Testnet Katana', + 18, + UnderlyingAsset.KATANAETH, + CoinKind.CRYPTO + ), ofc('b68e22ea-c6b6-458b-87d1-b6b5f79d9648', 'ofcinketh', 'INK', 18, UnderlyingAsset.INKETH, CoinKind.CRYPTO), tofc( '4d79941f-58ea-4fca-a784-93cf7acdf508', diff --git a/modules/statics/src/networkFeatureMapForTokens.ts b/modules/statics/src/networkFeatureMapForTokens.ts index ec4fcfc1a0..38ad9d4b67 100644 --- a/modules/statics/src/networkFeatureMapForTokens.ts +++ b/modules/statics/src/networkFeatureMapForTokens.ts @@ -41,6 +41,15 @@ export const networkFeatureMapForTokens: Partial