wToast('Faucet request failed: ' + error.message, 'error');
            });
        }

        function resetWallet() {
            if (confirm('Are you sure you want to reset your wallet? This action cannot be undone.')) {
                localStorage.removeItem('zhtpWallet');
                currentWallet = null;
                updateWalletDisplay();
                showToast('Wallet reset successfully', 'info');
            }
        }

        // Domain functions
        function registerDomain() {
   