You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e72d188
Browse filesBrowse the repository at this point in the historyBrowse files
Both: deleting a wallet removes its Hyperliquid trading key (#1963)
* Deleting a wallet removes its Hyperliquid agent key
docs/product/wallet.md says Delete removes everything the wallet owned on the device. GemWalletService now takes the gateway's secure store, and delete_wallet removes the agent key and address of each HyperCore account no other signing wallet holds, before the wallet's secret goes, so a failed removal leaves the wallet whole and Delete can be tried again. Agent::remove_credentials owns the key names and regenerate_credentials uses it. iOS passes the gateway's encrypted store and Android its GemSecureStore binding.
* Core: deleting a wallet removes its Hyperliquid agent keys through one helper, and the address rule is named for HyperCore
* Core: a wallet is still deleted when its Hyperliquid agent key cannot be removed
Copy file name to clipboardExpand all lines: android/data/services/gemstone/src/main/kotlin/com/gemwallet/android/data/services/gemstone/di/KeystoreModule.kt
Copy file name to clipboardExpand all lines: docs/product/wallet.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,8 @@ flowchart LR
99
99
| A wallet imported from a private key shows its key | the security reminders and the warning above the key name the private key, never the Secret Phrase | the phrase wording on a key screen misled users (#1394) |
100
100
| A wallet is deleted | the app switches to the next wallet: Multi-Coin first, then the oldest ||
101
101
| The last wallet is deleted | the app returns to onboarding ||
102
+
| A wallet that trades perpetuals is deleted | the Hyperliquid key that signed its orders leaves the device with it, unless another wallet on the device has the same address | the key keeps trading the account until its approval expires |
103
+
| The Hyperliquid key of a deleted wallet cannot be removed | the wallet and its Secret Phrase or private key are still deleted | the secret leaving the device matters more than a trading key whose approval expires |
102
104
| A network is retired | it is no longer offered anywhere; Multi-Coin wallets lose its account and everything stored for it; watch-only wallets on it are removed; a single-network or private key wallet on it stays with its address, so its Secret Phrase or private key can still be shown | the network no longer works, but deleting a wallet that holds a key could lose that key for good |
103
105
104
106
Showing and copying a Secret Phrase or private key follow the shared [Secrets](../PRODUCT.md#secrets) section.
0 commit comments