feat: stealth account labeling + network indicator + wrong-network detection#48
Conversation
- StealthLabel type with stealthAddress, label, tags, hiddenAt, createdAt - localStorage CRUD helpers keyed per-wallet - useStealthLabels React hook with search, tag filter, hide/unhide - StealthLabelEditor inline component (pencil icon, input, save on blur/Enter) - StealthLabelBar toolbar: search, export JSON, import with conflict prompt, hidden toggle, tag chip filter, privacy warning on first save - Integrated into all 4 receive components (Horizen, Stellar, Solana, CKB) - Privacy warning: one-time tooltip shown only when saving first label Closes wraith-protocol#20
|
@JafetCHVDev is attempting to deploy a commit to the truthixify's projects Team on Vercel. A member of the Team first needs to authorize it. |
- useNetworkStatus hook: reactive wallet network detection per chain - Horizen: useChainId() from wagmi (chain ID 2651420) - Stellar: Freighter getNetwork() (TESTNET vs PUBLIC) - Solana: getGenesisHash() via Connection (devnet genesis hash) - CKB: get_blockchain_info RPC (testnet/pudge chain) - Polls every 5s for non-reactive chains (Stellar, Solana, CKB) - NetworkBadge: color-coded badge in header (green=correct, yellow=wrong-network, red=mainnet/unknown) - WrongNetworkBanner: sticky banner with chain-specific switch instructions, prominent red variant for mainnet detection - All Send buttons disabled when wrong network or mainnet detected - All Derive/Register/Scan/Withdraw buttons disabled when wrong network or mainnet detected - Network metadata centralized in src/config/networks.ts - Only 5s polling for wallets without event-based network APIs Closes wraith-protocol#23
|
@JafetCHVDev Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Closing this one for two reasons:
Recommended path: land #42 (after the UTF-8 fix), then open a new small PR with only the Thanks @JafetCHVDev. |
Implements Issues #20 and #23.
Stealth Account Labeling (#20)
Network Indicator + Wrong-Network Detection (#23)
Closes #20, Closes #23