Skip to content

Commit 6142cba

Browse files
committed
fix: add missing _unwrappedTokensMapping for hyperliquid
1 parent f687e31 commit 6142cba

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/blue-sdk/src/addresses.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,9 @@ const _unwrappedTokensMapping: Record<number, Record<Address, Address>> = {
556556
[ChainId.LiskMainnet]: {
557557
[_addressesRegistry[ChainId.LiskMainnet].wNative]: NATIVE_ADDRESS,
558558
},
559+
[ChainId.HyperliquidMainnet]: {
560+
[_addressesRegistry[ChainId.HyperliquidMainnet].wNative]: NATIVE_ADDRESS,
561+
},
559562
};
560563

561564
export function getUnwrappedToken(wrappedToken: Address, chainId: number) {

packages/blue-sdk/src/chain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export namespace ChainUtils {
196196
name: "Hyperliquid",
197197
id: ChainId.HyperliquidMainnet,
198198
nativeCurrency: { name: "Hype", symbol: "HYPE", decimals: 18 },
199-
explorerUrl: "https://purrsec.com",
199+
explorerUrl: "https://hyperevmscan.io",
200200
identifier: "hyperliquid",
201201
},
202202
};

0 commit comments

Comments
 (0)