Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions modules/sdk-core/src/bitgo/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down Expand Up @@ -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',
},
Expand Down
36 changes: 36 additions & 0 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export enum CoinFamily {
JOVAYETH = 'jovayeth',
KAIA = 'kaia',
KASPA = 'kaspa',
KATANAETH = 'katanaeth', // Katana Network L2
KAVACOSMOS = 'kavacosmos',
KAVAEVM = 'kavaevm',
LNBTC = 'lnbtc',
Expand Down Expand Up @@ -653,6 +654,7 @@ export enum UnderlyingAsset {
ISLM = 'islm',
JOVAYETH = 'jovayeth',
KAIA = 'kaia',
KATANAETH = 'katanaeth', // Katana Network L2
KAVACOSMOS = 'kavacosmos',
KAVAEVM = 'kavaevm',
LNBTC = 'lnbtc',
Expand Down
9 changes: 9 additions & 0 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
9 changes: 9 additions & 0 deletions modules/statics/src/networkFeatureMapForTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ export const networkFeatureMapForTokens: Partial<Record<CoinFamily, CoinFeature[
eos: AccountCoin.DEFAULT_FEATURES,
hbar: AccountCoin.DEFAULT_FEATURES,
opeth: [...AccountCoin.DEFAULT_FEATURES, CoinFeature.EIP1559],
katanaeth: [
...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,
],
polygon: POLYGON_TOKEN_FEATURES,
scrolleth: [
...EVM_FEATURES,
Expand Down
19 changes: 19 additions & 0 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2530,6 +2530,23 @@ class HemiEthTestnet extends Testnet implements EthereumNetwork {
chainId = 743111;
nativeCoinOperationHashPrefix = '743111';
}
class KatanaEth extends Mainnet implements EthereumNetwork {
name = 'Katana';
family = CoinFamily.KATANAETH;
explorerUrl = 'https://katanascan.com/tx/';
accountExplorerUrl = 'https://katanascan.com/address/';
chainId = 747474;
nativeCoinOperationHashPrefix = '747474';
}

class KatanaEthTestnet extends Testnet implements EthereumNetwork {
name = 'Testnet Katana';
family = CoinFamily.KATANAETH;
explorerUrl = 'https://explorer-bokuto.katanarpc.com/tx/';
accountExplorerUrl = 'https://explorer-bokuto.katanarpc.com/address/';
chainId = 737373;
nativeCoinOperationHashPrefix = '737373';
}

class PrividiumETH extends Mainnet implements EthereumNetwork {
name = 'Prividium Ethereum Mainnet';
Expand Down Expand Up @@ -2819,6 +2836,7 @@ export const Networks = {
jovayeth: Object.freeze(new JovayETH()),
kaia: Object.freeze(new Kaia()),
kaspa: Object.freeze(new KaspaMainnet()),
katanaeth: Object.freeze(new KatanaEth()),
kavacosmos: Object.freeze(new KavaCosmos()),
kavaevm: Object.freeze(new KavaEVM()),
lnbtc: Object.freeze(new LightningBitcoin()),
Expand Down Expand Up @@ -2948,6 +2966,7 @@ export const Networks = {
islm: Object.freeze(new IslmTestnet()),
jovayeth: Object.freeze(new JovayETHTestnet()),
kaspa: Object.freeze(new KaspaTestnet()),
katanaeth: Object.freeze(new KatanaEthTestnet()),
kavacosmos: Object.freeze(new KavaCosmosTestnet()),
kavaevm: Object.freeze(new KavaEVMTestnet()),
kovan: Object.freeze(new Kovan()),
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/test/unit/fixtures/expectedColdFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const expectedColdFeatures = {
'jovayeth',
'kaia',
'kaspa',
'katanaeth',
'kavacosmos',
'megaeth',
'mantle',
Expand Down Expand Up @@ -211,6 +212,7 @@ export const expectedColdFeatures = {
'tiota',
'tkaia',
'tkaspa',
'tkatanaeth',
'tkavacosmos',
'tmantle',
'tmantra',
Expand Down
Loading