useVerifyEvmWallet
Hook containing utility functions to verify an EVM wallet.
Usage
import { useVerifyEvmWallet } from '@dustlabs/profiles/evm';
const { verifyWallet } = useVerifyEvmWallet()Return Value
isLoadingVerifyWallet
boolean
The loading state of the verifyWallet function.
verifyWallet
(message: string) => Promise<string | null>
Function to verify an EVM wallet using a message provided in the params. Returns the signed message hash.
verificationMethod
The verification method used to verify the EVM wallet. In the case of EVM, this will always be ProfileVerificationMethod.MESSAGE_SIGNATURE.