Vana SDK - v4.1.0
    Preparing search index...

    Function resolveWriteSigner

    • Normalise a builder key into a WriteSigner.

      Parameters

      • source: WriteSignerSource

        A viem LocalAccount, a viem WalletClient, or a { signMessage } object (returned as-is).

      • options: ResolveWriteSignerOptions = {}

        account for a wallet client without a hoisted account.

      Returns WriteSigner

      A signer whose signMessage produces EIP-191 signatures.

      When a wallet client has no account to sign with, or the source exposes no signMessage function.