    username: currentUser?.username || 'anonymous',
                        network: 'testnet',
                        quantum_resistant: true
                    })
                });
                
                const wallet = await response.json();
                if (wallet.success) {
                    currentWallet = {
                        address: wallet.wallet_address,
                        publicKey: wallet.public_key,
                        balance: 0,
                        network: