Type alias Web5ConnectResult

Web5ConnectResult: {
    did: string;
    recoveryPhrase?: string;
    web5: Web5;
}

Represents the result of the Web5 connection process, including the Web5 instance, the connected decentralized identifier (DID), and optionally the recovery phrase used during the agent's initialization.

Type declaration

  • did: string

    The DID that has been connected or created during the connection process.

  • Optional recoveryPhrase?: string

    The first time a Web5 agent is initialized, the recovery phrase that was used to generate the agent's DID and keys is returned. This phrase can be used to recover the agent's vault contents and should be stored securely by the user.

  • web5: Web5

    The Web5 instance, providing access to the agent, DID, DWN, and VC APIs.

Generated using TypeDoc