+
Blockchain Wallet
+
+ {/* Current Wallet Display */}
+
+ {wallet ? (
+
+
+ Connected Wallet:
+ {wallet.address.slice(0, 6)}...{wallet.address.slice(-4)}
+
+
+ Chain ID: {wallet.chainId}
+
+ {linkedAccount && (
+
+ ✓ Linked to Web Crypto account
+
+ )}
+
+ ) : (
+
+ No wallet connected
+
+ )}
+
+
+ {/* Wallet Actions */}
+
+ {!wallet ? (
+
+ ) : (
+ <>
+ {!linkedAccount ? (
+
+ ) : (
+
+ )}
+
+ >
+ )}
+
+
+ {/* Linked Account Details */}
+ {linkedAccount && (
+
+ Wallet Details
+
+
+
+
Ethereum Address:
+
+ {linkedAccount.ethereumAddress}
+
+ {linkedAccount.proxyContractAddress && (
+ <>
+
Proxy Contract:
+
+ {linkedAccount.proxyContractAddress}
+
+ >
+ )}
+
+ Linked on {new Date(linkedAccount.linkedAt).toLocaleDateString()}
+
+
+
+
+
+ )}
+
+
+
+ Blockchain Wallet
+
+ {linkedAccount ? "✅ Linked" : wallet ? "🔗 Connected" : "❌ Not connected"}
+
+
+
+ {wallet ? (
+
+
+ {wallet.address.slice(0, 6)}...{wallet.address.slice(-4)}
+
+
+ Chain ID: {wallet.chainId}
+
+ {linkedAccount && (
+
+ ✓ Linked to Web Crypto account
+
+ )}
+
+ ) : (
+
+ Connect a wallet to enable blockchain transactions
+
+ )}
+
+ {!wallet ? (
+
+ ) : (
+
+ {!linkedAccount ? (
+
+ ) : (
+
+ )}
+
+
+ )}
+
+