  document.getElementById('walletAddress').textContent = currentWallet.address || 'Not connected';
                document.getElementById('walletBalance').textContent = (currentWallet.balance || 0) + ' ZHTP';
                document.getElementById('walletNetwork').textContent = 'Testnet';
            }
        }

        // Tab switching
        function switchTab(tabName) {
            // Remove active class from all tabs
            document.querySelectorAll('.tab').forEach(tab => tab.classList.remove('