From be914806af0b948c1790e1ea62baccd998d7c50b Mon Sep 17 00:00:00 2001 From: void-57 Date: Sat, 24 Jan 2026 03:31:24 +0530 Subject: [PATCH] feat: Add Bitcoin address support and improve UX - Implement Bitcoin address generation (Bech32) and WIF private key display. - Add input validation to search: reject empty inputs and FLO/BTC addresses with clear intent messages. - Update search history logic: - Derive and store BTC addresses for WIF private keys. - Display BTC chips in search history for multi-chain keys. - Move notifications to top-right on desktop to prevent sidebar overlap. - Add WETC logo to asset icons (matching ETC logo). --- index.html | 72 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 63 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 0eb1d84..05e9f3c 100644 --- a/index.html +++ b/index.html @@ -467,12 +467,12 @@ const apply = () => { if (window.matchMedia('(min-width: 640px)').matches) { - // Desktop: offset from left navbar + // Desktop: top-right to avoid overlapping "Searched addresses" (which is left-side) Object.assign(panel.style, { - left: 'calc(10rem + 1rem)', - bottom: '1rem', - top: 'auto', - right: '1rem', // optional, lets long toasts wrap before content edge + left: 'auto', + bottom: 'auto', + top: '1rem', + right: '1rem', zIndex: '1000' }); } else { @@ -494,6 +494,8 @@