Hierarchy

  • PKPClient

Constructors

Properties

_wallets: Map<string, PKPBase<PKPBaseDefaultParams>> = ...
pkpPubKey: string

Methods

  • Connects all wallets and returns an object containing the overall readiness status and an array of the initialization status for each wallet.

    Returns

    An object containing the overall readiness status (ready) and an array (res) with the initialization status for each wallet.

    Returns Promise<{
        ready: boolean;
        res: {
            chain: string;
            success: boolean;
        }[];
    }>

  • Retrieves the wallet instance for a specific chain.

    Returns

    The wallet instance for the specified chain.

    Throws

    Will throw an error if the chain is not supported.

    Type Parameters

    Parameters

    • chain: string

      The name of the chain for which to retrieve the wallet instance.

    Returns T

Generated using TypeDoc