abstract
BaseEthereumWalletsignMessage
method
to provide a custom signing function. The signMessage
method should
return a promise that resolves to a hexadecimal string representing
the signature of the provided message.
new BaseEthereumWallet(): BaseEthereumWallet
BaseEthereumWallet
type:Defined in: packages/wallet-stamper/src/ethereum.ts:24 The type of the wallet.Ethereum
=WalletType.Ethereum
EthereumWalletInterface
.type
getPublicKey():Defined in: packages/wallet-stamper/src/ethereum.ts:40 Returns the public key, which is the SECP256K1 hex encoded public key from your Ethereum wallet.Promise
<string
>
Promise
<string
>
A promise that resolves to a string representing the compressed public key.
EthereumWalletInterface
.getPublicKey
Defined in: packages/wallet-stamper/src/ethereum.ts:33 Signs a message and returns the hex signature as a string.abstract
signMessage(message
):Promise
<`0x${string}`
>
string
The message to be signed, either as a string or a Hex.
Promise
<`0x${string}`
>
A promise that resolves to a Hex string representing the signature.
EthereumWalletInterface
.signMessage