From ff0b3cf588e08ec8ec49eeeb242d8f1e97ee8641 Mon Sep 17 00:00:00 2001 From: void-57 Date: Wed, 10 Dec 2025 15:55:30 +0530 Subject: [PATCH 1/4] feat: display searched address and differentiate inactive account errors when loading balance --- index.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 58c6372..5307754 100644 --- a/index.html +++ b/index.html @@ -1183,7 +1183,17 @@ } catch (error) { console.error('Error:', error); showNotification('❌ Error: ' + error.message, 'error'); - document.getElementById('display-balance').textContent = 'Error loading balance'; + + // Display the searched address + document.getElementById('display-address').textContent = address; + + // Check if it's an inactive account error + if (error.message.includes('not found') || error.message.includes('invalid')) { + document.getElementById('display-balance').textContent = 'Address is inactive'; + } else { + document.getElementById('display-balance').textContent = 'Error loading balance'; + } + document.getElementById('transaction-list').innerHTML = `
From 7a39b3bd587568660eb6973e9b86b3029e947185 Mon Sep 17 00:00:00 2001 From: void-57 Date: Wed, 10 Dec 2025 16:06:56 +0530 Subject: [PATCH 2/4] feat: Add UI update logic for the search button. --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 5307754..c7ea9af 100644 --- a/index.html +++ b/index.html @@ -766,6 +766,8 @@ btn.innerHTML = ' Generate'; } else if (btn.id === 'recoverBtn') { btn.innerHTML = ' Recover'; + } else if (btn.id === 'searchBtn') { + btn.innerHTML = ' Search'; } } }); From 9a145742457f63c501c5b9ba27b5bc70d7bab9f4 Mon Sep 17 00:00:00 2001 From: void-57 Date: Wed, 10 Dec 2025 17:55:43 +0530 Subject: [PATCH 3/4] feat: Update URL parameters to include the searched address on error and specify ECDSA private key acceptance. --- index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index c7ea9af..39864e1 100644 --- a/index.html +++ b/index.html @@ -212,7 +212,7 @@
-
Only private keys accepted
+
Only ECDSA private keys accepted
+ +
To: - - +
+ - + +
Gas Used: