Skip to content

Commit d9f8ff2

Browse files
committed
fix: added missing thyperliquid
TICKET: CECHO-90
1 parent bc0f59c commit d9f8ff2

File tree

8 files changed

+33
-23
lines changed

8 files changed

+33
-23
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ describe('V2 Keychains', function () {
114114
n.asset !== UnderlyingAsset.MEGAETH &&
115115
n.asset !== UnderlyingAsset.ARCUSDC &&
116116
n.asset !== UnderlyingAsset.ZKSYNCERA &&
117-
n.asset !== UnderlyingAsset.HYPE &&
117+
n.asset !== UnderlyingAsset.HYPERLIQUID &&
118118
coinFamilyValues.includes(n.name)
119119
);
120120

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ interface EnvironmentTemplate {
7777
sgbExplorerBaseUrl?: string;
7878
sgbExplorerApiToken?: string;
7979
icpNodeUrl: string;
80-
hypeNodeUrl: string;
80+
hyperLiquidNodeUrl: string;
8181
wemixExplorerBaseUrl?: string;
8282
wemixExplorerApiToken?: string;
8383
monExplorerBaseUrl?: string;
@@ -349,7 +349,7 @@ const mainnetBase: EnvironmentTemplate = {
349349
},
350350
},
351351
icpNodeUrl: 'https://ic0.app',
352-
hypeNodeUrl: 'https://api.hyperliquid.xyz',
352+
hyperLiquidNodeUrl: 'https://api.hyperliquid.xyz',
353353
worldExplorerBaseUrl: 'https://worldscan.org/',
354354
somniaExplorerBaseUrl: 'https://mainnet.somnia.w3us.site/',
355355
soneiumExplorerBaseUrl: 'https://soneium.blockscout.com',
@@ -427,7 +427,7 @@ const testnetBase: EnvironmentTemplate = {
427427
xdcExplorerBaseUrl: 'https://api.etherscan.io/v2',
428428
sgbExplorerBaseUrl: 'https://coston-explorer.flare.network',
429429
icpNodeUrl: 'https://ic0.app',
430-
hypeNodeUrl: 'https://api.hyperliquid-testnet.xyz',
430+
hyperLiquidNodeUrl: 'https://api.hyperliquid-testnet.xyz',
431431
monExplorerBaseUrl: 'https://api.etherscan.io/v2',
432432
worldExplorerBaseUrl: 'https://sepolia.worldscan.org/',
433433
somniaExplorerBaseUrl: 'https://shannon-explorer.somnia.network/',

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ import {
104104
FLR_FEATURES,
105105
GENERIC_TOKEN_FEATURES,
106106
HBAR_FEATURES,
107-
HYPE_FEATURES,
107+
HYPERLIQUID_FEATURES,
108108
ICP_FEATURES,
109109
INJECTIVE_FEATURES,
110110
IOTA_FEATURES,
@@ -1752,24 +1752,24 @@ export const allCoinsAndTokens = [
17521752
),
17531753
account(
17541754
'1d7327a1-80fc-4913-9b72-457087811262',
1755-
'hype',
1755+
'hyperliquid',
17561756
'Hyperliquid',
1757-
Networks.main.hype,
1757+
Networks.main.hyperliquid,
17581758
8,
1759-
UnderlyingAsset.HYPE,
1759+
UnderlyingAsset.HYPERLIQUID,
17601760
BaseUnit.HYPE,
1761-
HYPE_FEATURES,
1761+
HYPERLIQUID_FEATURES,
17621762
KeyCurve.Secp256k1
17631763
),
17641764
account(
17651765
'd0754b12-26fa-47c2-887f-f19099156ea2',
1766-
'thype',
1766+
'thyperliquid',
17671767
'Hyperliquid Testnet',
1768-
Networks.test.hype,
1768+
Networks.test.hyperliquid,
17691769
8,
1770-
UnderlyingAsset.HYPE,
1770+
UnderlyingAsset.HYPERLIQUID,
17711771
BaseUnit.HYPE,
1772-
HYPE_FEATURES,
1772+
HYPERLIQUID_FEATURES,
17731773
KeyCurve.Secp256k1
17741774
),
17751775
hypeEvm(

modules/statics/src/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export enum CoinFamily {
9292
PHRS = 'phrs',
9393
CTC = 'ctc',
9494
HYPEEVM = 'hypeevm',
95-
HYPE = 'hype', // HyperCore L1
95+
HYPERLIQUID = 'hyperliquid', // HyperCore L1
9696
NEAR = 'near',
9797
OAS = 'oas',
9898
OFC = 'ofc',
@@ -641,7 +641,7 @@ export enum UnderlyingAsset {
641641
PLUME = 'plume',
642642
CTC = 'ctc',
643643
HYPEEVM = 'hypeevm',
644-
HYPE = 'hype', // HyperCore L1
644+
HYPERLIQUID = 'hyperliquid', // HyperCore L1
645645
RBTC = 'rbtc', // RSK main coin
646646
SEI = 'sei',
647647
SEIEVM = 'seievm',

modules/statics/src/coinFeatures.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,9 @@ export const COREDAO_FEATURES = [
600600
CoinFeature.ERC20_BULK_TRANSACTION,
601601
];
602602
export const TEMPO_FEATURES = [...EVM_FEATURES];
603-
export const HYPE_FEATURES = [
603+
export const HYPERLIQUID_FEATURES = [
604604
...ACCOUNT_COIN_DEFAULT_FEATURES,
605+
CoinFeature.MULTISIG_COLD,
605606
CoinFeature.TSS,
606607
CoinFeature.TSS_COLD,
607608
CoinFeature.MPCV2,

modules/statics/src/coins/ofcCoins.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,20 @@ export const ofcCoins = [
238238
UnderlyingAsset.HYPEEVM,
239239
CoinKind.CRYPTO
240240
),
241-
ofc('10ca4011-4409-42af-a275-bb531ae717b7', 'ofchype', 'Hyperliquid', 8, UnderlyingAsset.HYPE, CoinKind.CRYPTO),
241+
ofc(
242+
'10ca4011-4409-42af-a275-bb531ae717b7',
243+
'ofchyperliquid',
244+
'Hyperliquid',
245+
8,
246+
UnderlyingAsset.HYPERLIQUID,
247+
CoinKind.CRYPTO
248+
),
242249
tofc(
243250
'a76394f3-7c14-4d27-bfa8-8920a3ea30d0',
244-
'ofcthype',
251+
'ofcthyperliquid',
245252
'Testnet Hyperliquid',
246253
8,
247-
UnderlyingAsset.HYPE,
254+
UnderlyingAsset.HYPERLIQUID,
248255
CoinKind.CRYPTO
249256
),
250257
ofc('c7350490-f1c0-4f76-8db4-832dc18a2efe', 'ofcseievm', 'Sei EVM', 18, UnderlyingAsset.SEIEVM, CoinKind.CRYPTO),

modules/statics/src/networks.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,14 +1668,14 @@ class HypeEVM extends Mainnet implements EthereumNetwork {
16681668

16691669
class Hyperliquid extends Mainnet implements AccountNetwork {
16701670
name = 'Hyperliquid';
1671-
family = CoinFamily.HYPE;
1671+
family = CoinFamily.HYPERLIQUID;
16721672
explorerUrl = 'https://app.hyperliquid.xyz/explorer';
16731673
accountExplorerUrl = 'https://app.hyperliquid.xyz/explorer';
16741674
}
16751675

16761676
class HyperliquidTestnet extends Testnet implements AccountNetwork {
16771677
name = 'HyperliquidTestnet';
1678-
family = CoinFamily.HYPE;
1678+
family = CoinFamily.HYPERLIQUID;
16791679
explorerUrl = 'https://app.hyperliquid-testnet.xyz/explorer';
16801680
accountExplorerUrl = 'https://app.hyperliquid-testnet.xyz/explorer';
16811681
}
@@ -2629,7 +2629,7 @@ export const Networks = {
26292629
phrs: Object.freeze(new Pharos()),
26302630
ctc: Object.freeze(new Creditcoin()),
26312631
hypeevm: Object.freeze(new HypeEVM()),
2632-
hype: Object.freeze(new Hyperliquid()),
2632+
hyperliquid: Object.freeze(new Hyperliquid()),
26332633
lineaeth: Object.freeze(new LineaETH()),
26342634
oas: Object.freeze(new Oas()),
26352635
og: Object.freeze(new Og()),
@@ -2753,7 +2753,7 @@ export const Networks = {
27532753
phrs: Object.freeze(new PharosTestnet()),
27542754
ctc: Object.freeze(new CreditcoinTestnet()),
27552755
hypeevm: Object.freeze(new HypeEVMTestnet()),
2756-
hype: Object.freeze(new HyperliquidTestnet()),
2756+
hyperliquid: Object.freeze(new HyperliquidTestnet()),
27572757
lineaeth: Object.freeze(new LineaETHTestnet()),
27582758
oas: Object.freeze(new OasTestnet()),
27592759
og: Object.freeze(new OgTestnet()),

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export const expectedColdFeatures = {
1515
'tflr',
1616
'trx',
1717
'ttrx',
18+
'hyperliquid',
19+
'thyperliquid',
1820
],
1921
justMultiSig: [
2022
'algo',

0 commit comments

Comments
 (0)