AuthenticationConfig: {
    domain: string;
    statement?: string;
    uri: string;
}

As per EIP-4361 the information provided will be used to create a SIWE message.

Type declaration

  • domain: string

    The domain that is requesting the signing.

    This will be displayed to the user as well as used by compliant wallets to avoid phishing attacks.

  • Optional statement?: string

    A human-readable ASCII assertion that the user will sign which MUST NOT include \n (the byte 0x0a).

    This will be displayed to the user if signed using the user's wallet.

  • uri: string

    The subject of the signing claim.

Example

${domain} wants you to sign in with your Ethereum account:
${address}

${statement}

URI: ${uri}
...