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
5 changes: 5 additions & 0 deletions .changeset/large-hornets-bet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@relayprotocol/relay-kit-ui': patch
---

Implement AGW logic when hyperliquid is selected as destination
5 changes: 3 additions & 2 deletions packages/ui/src/hooks/useIsWalletCompatible.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ export default (
return true
}

//Hyperliquid operates as a CEX, so there's no need to check for wallet compatibility
// Hyperliquid operates as a CEX, so wallet compatibility checks are skipped.
// AGW recipients are still incompatible with Hyperliquid deposits.
if (chainId === 1337) {
return true
return !isRecipientAGW
}

if (!linkedWallet) {
Expand Down