Type alias Web5Params

Web5Params: {
    agent: Web5Agent;
    connectedDid: string;
    delegateDid?: string;
}

Parameters that are passed to Web5 constructor.

Type declaration

  • agent: Web5Agent

    A Web5Agent instance that handles DIDs, DWNs and VCs requests. The agent manages the user keys and identities, and is responsible to sign and verify messages.

  • connectedDid: string

    The DID of the tenant under which all DID, DWN, and VC requests are being performed.

  • Optional delegateDid?: string

    The DID that will be signing Web5 messages using grants from the connectedDid