'use client'; import { Box, Heading, Text, VStack, Icon, Alert, AlertIcon, AlertDescription, SimpleGrid, } from '@chakra-ui/react'; import { useWallet } from '@vechain/vechain-kit'; import { LuWallet, LuWalletCards } from 'react-icons/lu'; export function AccountInfo() { const { smartAccount, connectedWallet, connection } = useWallet(); return ( Your Account Details {smartAccount.address && ( Smart Account Address:{' '} {smartAccount.address} Deployed:{' '} {smartAccount.isDeployed.toString()} )} {connection.isConnectedWithPrivy ? 'Embedded Wallet' : 'Wallet'} Address:{' '} {connectedWallet?.address} Smart accounts are not immediately deployed on login but only after first action done by the user, avoiding unnecessary money spent on gas. ); }