Skip to content
Merged
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 @@ -308,6 +308,9 @@ const mainnetBase: EnvironmentTemplate = {
hemieth: {
baseUrl: 'https://explorer.hemi.xyz/api',
},
inketh: {
baseUrl: 'https://explorer.inkonchain.com/api',
},
prividiumeth: {
baseUrl: 'https://explorer.prividium.zksync.dev/api', // TODO: update with mainnet URL when available
},
Expand Down Expand Up @@ -525,6 +528,9 @@ const testnetBase: EnvironmentTemplate = {
hemieth: {
baseUrl: 'https://testnet.explorer.hemi.xyz/api',
},
tinketh: {
baseUrl: 'https://explorer-sepolia.inkonchain.com/api',
},
prividiumeth: {
baseUrl: 'https://explorer.testnet-prividium.zksync.dev/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 @@ -2380,6 +2380,42 @@ export const allCoinsAndTokens = [
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
]
),
account(
'e3d32879-e6de-4938-b550-8ff4c19211d1',
'inketh',
'INK',
Networks.main.inketh,
18,
UnderlyingAsset.INKETH,
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',
'Testnet INK',
Networks.test.inketh,
18,
UnderlyingAsset.INKETH,
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(
'68d22683-a8f2-47b3-8446-92e02a1963ae',
'hemieth',
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 @@ -73,6 +73,7 @@ export enum CoinFamily {
HOODETH = 'hoodeth', // Robinhood Chain
HPPETH = 'hppeth', // House Party Protocol
ICP = 'icp',
INKETH = 'inketh', // INK L2
INITIA = 'initia',
INJECTIVE = 'injective',
IOTA = 'iota',
Expand Down Expand Up @@ -619,6 +620,7 @@ export enum UnderlyingAsset {
HOODETH = 'hoodeth', // Robinhood Chain
HPPETH = 'hppeth', // House Party Protocol
ICP = 'icp',
INKETH = 'inketh', // INK L2
IP = 'ip', // Story Chain
INITIA = 'initia',
INJECTIVE = 'injective',
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 @@ -346,6 +346,15 @@ export const ofcCoins = [
UnderlyingAsset.LINEAETH,
CoinKind.CRYPTO
),
ofc('b68e22ea-c6b6-458b-87d1-b6b5f79d9648', 'ofcinketh', 'INK', 18, UnderlyingAsset.INKETH, CoinKind.CRYPTO),
tofc(
'4d79941f-58ea-4fca-a784-93cf7acdf508',
'ofctinketh',
'INK Testnet',
18,
UnderlyingAsset.INKETH,
CoinKind.CRYPTO
),
ofc(
'bdab1ab0-215d-4d59-b698-7cc624e5027a',
'ofchemieth',
Expand Down
20 changes: 20 additions & 0 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2512,6 +2512,24 @@ class PrividiumETHTestnet extends Testnet implements EthereumNetwork {
nativeCoinOperationHashPrefix = '8022834';
}

class InkEth extends Mainnet implements EthereumNetwork {
name = 'INK Mainnet';
family = CoinFamily.INKETH;
explorerUrl = 'https://explorer.inkonchain.com/tx/';
accountExplorerUrl = 'https://explorer.inkonchain.com/address/';
chainId = 57073;
nativeCoinOperationHashPrefix = '57073';
}

class InkEthTestnet extends Testnet implements EthereumNetwork {
name = 'INK Testnet';
family = CoinFamily.INKETH;
explorerUrl = 'https://explorer-sepolia.inkonchain.com/tx/';
accountExplorerUrl = 'https://explorer-sepolia.inkonchain.com/address/';
chainId = 763373;
nativeCoinOperationHashPrefix = '763373';
}

class PlumeTestnet extends Testnet implements EthereumNetwork {
name = 'PlumeTestnet';
family = CoinFamily.PLUME;
Expand Down Expand Up @@ -2751,6 +2769,7 @@ export const Networks = {
hedera: Object.freeze(new Hedera()),
hederaEVM: Object.freeze(new HederaEVM()),
hemieth: Object.freeze(new HemiEth()),
inketh: Object.freeze(new InkEth()),
hppeth: Object.freeze(new Hppeth()),
prividiumeth: Object.freeze(new PrividiumETH()),
icp: Object.freeze(new Icp()),
Expand Down Expand Up @@ -2880,6 +2899,7 @@ export const Networks = {
prividiumeth: Object.freeze(new PrividiumETHTestnet()),
hederaEVM: Object.freeze(new HederaEVMTestnet()),
hemieth: Object.freeze(new HemiEthTestnet()),
inketh: Object.freeze(new InkEthTestnet()),
icp: Object.freeze(new IcpTestnet()),
ip: Object.freeze(new IPTestnet()),
initia: Object.freeze(new InitiaTestnet()),
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 @@ -101,6 +101,7 @@ export const expectedColdFeatures = {
'hash',
'hbarevm',
'hemieth',
'inketh',
'hoodeth',
'hppeth',
'icp',
Expand Down Expand Up @@ -178,6 +179,7 @@ export const expectedColdFeatures = {
'th',
'thbarevm',
'themieth',
'tinketh',
'thoodeth',
'thppeth',
'tjovayeth',
Expand Down
Loading