Skip to content

Commit fb07f02

Browse files
Merge branch 'master' into WIN-6253-ungate
2 parents f6c4ca3 + 29e7c2d commit fb07f02

File tree

6 files changed

+52
-0
lines changed

6 files changed

+52
-0
lines changed

modules/bitgo/test/v2/unit/keychains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ describe('V2 Keychains', function () {
8181
n.asset !== UnderlyingAsset.WORLD &&
8282
n.asset !== UnderlyingAsset.PHRS &&
8383
n.asset !== UnderlyingAsset.CTC &&
84+
n.asset !== UnderlyingAsset.HYPEEVM &&
8485
n.asset !== UnderlyingAsset.STT &&
8586
n.asset !== UnderlyingAsset.SONEIUM &&
8687
n.asset !== UnderlyingAsset.VET &&

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ const mainnetBase: EnvironmentTemplate = {
206206
ctc: {
207207
baseUrl: 'https://mainnet3.creditcoin.network',
208208
},
209+
hypeevm: {
210+
baseUrl: 'https://rpc.hyperliquid.xyz/evm',
211+
},
209212
},
210213
icpNodeUrl: 'https://ic0.app',
211214
worldExplorerBaseUrl: 'https://worldscan.org/',
@@ -291,6 +294,9 @@ const testnetBase: EnvironmentTemplate = {
291294
ctc: {
292295
baseUrl: 'https://rpc.cc3-testnet.creditcoin.network',
293296
},
297+
hypeevm: {
298+
baseUrl: 'https://rpc.hyperliquid-testnet.xyz/evm',
299+
},
294300
},
295301
stxNodeUrl: 'https://api.testnet.hiro.so',
296302
vetNodeUrl: 'https://rpc-testnet.vechain.energy',

modules/statics/src/base.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export enum CoinFamily {
7070
POLYX = 'polyx',
7171
PHRS = 'phrs',
7272
CTC = 'ctc',
73+
HYPEEVM = 'hypeevm',
7374
NEAR = 'near',
7475
OAS = 'oas',
7576
OFC = 'ofc',
@@ -483,6 +484,8 @@ export enum UnderlyingAsset {
483484
POLYGON = 'polygon',
484485
PHRS = 'phrs',
485486
CTC = 'ctc',
487+
HYPEEVM = 'hypeevm',
488+
THYPEEVM = 'thypeevm',
486489
RBTC = 'rbtc', // RSK main coin
487490
SEI = 'sei',
488491
SGB = 'sgb',

modules/statics/src/coins.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,26 @@ export const coins = CoinMap.fromCoins([
13391339
BaseUnit.ETH,
13401340
[...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, CoinFeature.SHARED_EVM_SDK]
13411341
),
1342+
account(
1343+
'e907fdbd-2c5d-45d6-b622-9da38937da73',
1344+
'hypeevm',
1345+
'Hyperliquid EVM',
1346+
Networks.main.hypeevm,
1347+
18,
1348+
UnderlyingAsset.HYPEEVM,
1349+
BaseUnit.ETH,
1350+
[...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, CoinFeature.SHARED_EVM_SDK]
1351+
),
1352+
account(
1353+
'e0500947-1105-404c-af52-765b1cb2a7c1',
1354+
'thypeevm',
1355+
'Hyperliquid EVM Testnet',
1356+
Networks.test.hypeevm,
1357+
18,
1358+
UnderlyingAsset.THYPEEVM,
1359+
BaseUnit.ETH,
1360+
[...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, CoinFeature.SHARED_EVM_SDK]
1361+
),
13421362
account(
13431363
'251b78df-90c5-4ff5-b07a-8cc23f27c5ff',
13441364
'soneium',

modules/statics/src/networks.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,24 @@ class Creditcoin extends Mainnet implements EthereumNetwork {
13011301
nativeCoinOperationHashPrefix = '102030';
13021302
}
13031303

1304+
class HypeEVMTestnet extends Testnet implements EthereumNetwork {
1305+
name = 'HyperliquidEVMTestnet';
1306+
family = CoinFamily.HYPEEVM;
1307+
explorerUrl = 'https://testnet.purrsec.com/tx/';
1308+
accountExplorerUrl = 'https://testnet.purrsec.com/address/';
1309+
chainId = 998;
1310+
nativeCoinOperationHashPrefix = '998';
1311+
}
1312+
1313+
class HypeEVM extends Mainnet implements EthereumNetwork {
1314+
name = 'HyperliquidEVM';
1315+
family = CoinFamily.HYPEEVM;
1316+
explorerUrl = 'https://hyperevm-explorer.vercel.app/tx/';
1317+
accountExplorerUrl = 'https://hyperevm-explorer.vercel.app/address/';
1318+
chainId = 999;
1319+
nativeCoinOperationHashPrefix = '999';
1320+
}
1321+
13041322
class CreditcoinTestnet extends Testnet implements EthereumNetwork {
13051323
name = 'CreditcoinTestnet';
13061324
family = CoinFamily.CTC;
@@ -1621,6 +1639,7 @@ export const Networks = {
16211639
polyx: Object.freeze(new Polymesh()),
16221640
phrs: Object.freeze(new Pharos()),
16231641
ctc: Object.freeze(new Creditcoin()),
1642+
hypeevm: Object.freeze(new HypeEVM()),
16241643
oas: Object.freeze(new Oas()),
16251644
ofc: Object.freeze(new Ofc()),
16261645
optimism: Object.freeze(new Optimism()),
@@ -1705,6 +1724,7 @@ export const Networks = {
17051724
polyx: Object.freeze(new PolymeshTestnet()),
17061725
phrs: Object.freeze(new PharosTestnet()),
17071726
ctc: Object.freeze(new CreditcoinTestnet()),
1727+
hypeevm: Object.freeze(new HypeEVMTestnet()),
17081728
oas: Object.freeze(new OasTestnet()),
17091729
ofc: Object.freeze(new OfcTestnet()),
17101730
optimism: Object.freeze(new OptimismTestnet()),

modules/statics/test/unit/fixtures/expectedColdFeatures.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export const expectedColdFeatures = {
9191
'world',
9292
'phrs',
9393
'ctc',
94+
'hypeevm',
9495
'xdc',
9596
'zeta',
9697
'tada',
@@ -112,6 +113,7 @@ export const expectedColdFeatures = {
112113
'tworld',
113114
'tphrs',
114115
'tctc',
116+
'thypeevm',
115117
'thash',
116118
'thorchain:rune',
117119
'tia',

0 commit comments

Comments
 (0)