Signer that has the ability to sign messages eg. ethers.Wallet or ethers.Signer

for context: This is a common interface so can keep this package clean without importing external libraries directly

interface SignerLike {
    getAddress: (() => Promise<string>);
    signMessage: ((message: any) => Promise<string>);
}

Properties

getAddress: (() => Promise<string>)
signMessage: ((message: any) => Promise<string>)