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
1 change: 1 addition & 0 deletions modules/bitgo/test/v2/unit/keychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ describe('V2 Keychains', function () {
n.asset !== UnderlyingAsset.ASI &&
n.asset !== UnderlyingAsset.SONIC &&
n.asset !== UnderlyingAsset.SEIEVM &&
n.asset !== UnderlyingAsset.KAIA &&
coinFamilyValues.includes(n.name)
);

Expand Down
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 @@ -221,6 +221,9 @@ const mainnetBase: EnvironmentTemplate = {
seievm: {
baseUrl: 'https://evm-rpc.sei-apis.com',
},
kaia: {
baseUrl: 'https://public-en.node.kaia.io',
},
},
icpNodeUrl: 'https://ic0.app',
worldExplorerBaseUrl: 'https://worldscan.org/',
Expand Down Expand Up @@ -315,6 +318,9 @@ const testnetBase: EnvironmentTemplate = {
seievm: {
baseUrl: 'https://evm-rpc-testnet.sei-apis.com',
},
kaia: {
baseUrl: 'https://public-en-kairos.node.kaia.io',
},
},
stxNodeUrl: 'https://api.testnet.hiro.so',
vetNodeUrl: 'https://rpc-testnet.vechain.energy',
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 @@ -61,6 +61,7 @@ export enum CoinFamily {
INITIA = 'initia',
INJECTIVE = 'injective',
ISLM = 'islm',
KAIA = 'kaia',
KAVA = 'kava',
LNBTC = 'lnbtc',
LTC = 'ltc',
Expand Down Expand Up @@ -479,6 +480,7 @@ export enum UnderlyingAsset {
INITIA = 'initia',
INJECTIVE = 'injective',
ISLM = 'islm',
KAIA = 'kaia',
KAVA = 'kava',
LNBTC = 'lnbtc',
LTC = 'ltc',
Expand Down
20 changes: 20 additions & 0 deletions modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,26 @@ export const coins = CoinMap.fromCoins([
BaseUnit.ETH,
[...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, CoinFeature.SHARED_EVM_SDK]
),
account(
'd92cbc11-0135-4304-bc10-7cdf82543880',
'kaia',
'Kaia',
Networks.main.kaia,
18,
UnderlyingAsset.KAIA,
BaseUnit.ETH,
[...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, CoinFeature.SHARED_EVM_SDK]
),
account(
'f6be6f3d-ebac-49fc-8c73-e5b1fc115778',
'tkaia',
'Kaia Testnet',
Networks.test.kaia,
18,
UnderlyingAsset.KAIA,
BaseUnit.ETH,
[...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, CoinFeature.SHARED_EVM_SDK]
),
account(
'251b78df-90c5-4ff5-b07a-8cc23f27c5ff',
'soneium',
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 @@ -1354,6 +1354,24 @@ class SonicTestnet extends Testnet implements EthereumNetwork {
nativeCoinOperationHashPrefix = '57054';
}

class Kaia extends Mainnet implements EthereumNetwork {
name = 'Kaia';
family = CoinFamily.KAIA;
explorerUrl = 'https://kaiascan.io/tx/';
accountExplorerUrl = 'https://kaiascan.io/address/';
chainId = 8217;
nativeCoinOperationHashPrefix = '8217';
}

class KaiaTestnet extends Testnet implements EthereumNetwork {
name = 'KaiaTestnet';
family = CoinFamily.KAIA;
explorerUrl = 'https://kairos.kaiascan.io/tx/';
accountExplorerUrl = 'https://kairos.kaiascan.io/address/';
chainId = 1001;
nativeCoinOperationHashPrefix = '1001';
}

class Xdc extends Mainnet implements EthereumNetwork {
name = 'XdcChain';
family = CoinFamily.XDC;
Expand Down Expand Up @@ -1674,6 +1692,7 @@ export const Networks = {
initia: Object.freeze(new Initia()),
injective: Object.freeze(new Injective()),
islm: Object.freeze(new Islm()),
kaia: Object.freeze(new Kaia()),
kava: Object.freeze(new Kava()),
lnbtc: Object.freeze(new LightningBitcoin()),
litecoin: Object.freeze(new Litecoin()),
Expand Down Expand Up @@ -1788,6 +1807,7 @@ export const Networks = {
stt: Object.freeze(new SomniaTestnet()),
soneium: Object.freeze(new SoneiumTestnet()),
sonic: Object.freeze(new SonicTestnet()),
kaia: Object.freeze(new KaiaTestnet()),
susd: Object.freeze(new SUSDTestnet()),
coreum: Object.freeze(new CoreumTestnet()),
tao: Object.freeze(new BittensorTestnet()),
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 @@ -73,6 +73,7 @@ export const expectedColdFeatures = {
'initia',
'islm',
'injective',
'kaia',
'kava',
'mantra',
'mon',
Expand Down Expand Up @@ -123,6 +124,7 @@ export const expectedColdFeatures = {
'tinitia',
'tislm',
'tinjective',
'tkaia',
'tkava',
'tmantra',
'tnear',
Expand Down