From b24fd8d4f87fe76db96753b6d954558394968c0d Mon Sep 17 00:00:00 2001 From: void-57 Date: Wed, 10 Dec 2025 18:29:13 +0530 Subject: [PATCH] feat: Display 'from' and 'to' evm addresses with copy buttons in the transaction success modal. --- index.html | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 39864e1..47d42c8 100644 --- a/index.html +++ b/index.html @@ -1763,6 +1763,7 @@ try { // Save transaction data before closing modal const txAmount = pendingTx.amount; + const txFrom = pendingTx.from; const txTo = pendingTx.to; // Send transaction (no memo) @@ -1774,10 +1775,11 @@ // Store explorer URL globally window.currentExplorerUrl = result.explorerUrl; - // Show success modal + // Show success modal with full addresses document.getElementById('success-txhash').textContent = result.transactionHash; document.getElementById('success-amount').textContent = txAmount.toFixed(8) + ' HBAR'; - document.getElementById('success-to').textContent = txTo.substring(0, 12) + '...' + txTo.substring(34); + document.getElementById('success-from').textContent = txFrom; + document.getElementById('success-to').textContent = txTo; document.getElementById('success-gas').textContent = result.gasUsed; document.getElementById('success-modal').style.display = 'flex'; @@ -2152,9 +2154,23 @@ Amount Sent: 0.00000000 HBAR +
+ From: +
+ - + +
+
To: - - +
+ - + +
Gas Used: