Hierarchy

  • Signer
    • DfnsWallet

Constructors

Properties

dfnsClient: DfnsApiClient

Accessors

Methods

  • Parameters

    • bytes: Uint8Array

    Returns Promise<Uint8Array>

  • Signs provided personal message by calling signWithIntent() with a PersonalMessage provided as intent scope

    Parameters

    • bytes: Uint8Array

    Returns Promise<{
        bytes: string;
        signature: string;
    }>

  • Parameters

    • bytes: Uint8Array

    Returns Promise<SignatureWithBytes>

  • Sign messages with a specific intent. By combining the message bytes with the intent before hashing and signing, it ensures that a signed message is tied to a specific purpose and domain separator is provided

    Parameters

    • bytes: Uint8Array
    • intent: IntentScope

    Returns Promise<SignatureWithBytes>

  • Returns string

Generated using TypeDoc