This extension can be used to get the address or sign without instantiating an ethers signer class.
const userEVMAddress = await wallet.evm.getAddress(); const userEVMPublicKey = await wallet.evm.getPublicKey(); const rawSignedDigest = await wallet.evm.signRaw('0x010203'); const eip191signedMessage = await wallet.evm.signMessage('hello world');
Was this page helpful?