Docs

You are viewing an archived version of the docs.Go to latest version

Web3 verification

These are all methods on the SignUp class that allow you to verify a user's sign-up request via a web3 wallet.

prepareWeb3WalletVerification()

function prepareWeb3WalletVerification(): Promise<SignUp>;

Helper method that allows you to initiate a verification process for a web3 wallet public address. It sends the public address to the server and expects a nonce that will need to be signed.

This is equivalent to calling SignUp.prepareVerification("web3_metamask_signature").

attemptWeb3WalletVerification()

function attemptWeb3WalletVerification(params: AttemptWeb3WalletVerificationParams): Promise<SignUp>;

Helper method that attempts to complete the verification process for a web3 wallet public address.

This is equivalent to calling SignUp.attemptVerification({strategy: "web3_metamask_signature", signature: "..." }).

AttemptWeb3WalletVerificationParams

  • Name
    identifier
    Type
    string
    Description

    The user's Web3 ID

Feedback

What did you think of this content?

Last updated on