Function createWallet

  • Type Parameters

    Parameters

    Returns {
        accounts: Account[];
        client: null | WalClient;
        connect: ((p?) => Promise<Account[]>);
        connecting: boolean;
        disconnect: (() => Promise<void>);
        id: W_ID;
        initParams: boolean | ClientInitParams;
        inited: boolean;
        initing: boolean;
        isActive: boolean;
        isConnected: boolean;
        loadClient: (() => Promise<boolean>);
        metadata: ClientMetadata;
        reconnect: (() => Promise<void>);
        removeAccounts: (() => void);
        setAsActiveWallet: (() => void);
        signTransactions: ((transactions) => Promise<Uint8Array[]>);
        signing: boolean;
        unloadClient: (() => Promise<void>);
    }

    • Readonly accounts: Account[]
    • client: null | WalClient
    • connect: ((p?) => Promise<Account[]>)
        • (p?): Promise<Account[]>
        • Parameters

          • Optional p: any

          Returns Promise<Account[]>

    • connecting: boolean
    • disconnect: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • id: W_ID
    • initParams: boolean | ClientInitParams
    • inited: boolean
    • initing: boolean
    • Readonly isActive: boolean
    • Readonly isConnected: boolean
    • loadClient: (() => Promise<boolean>)
        • (): Promise<boolean>
        • Returns Promise<boolean>

    • metadata: ClientMetadata
    • reconnect: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • removeAccounts: (() => void)
        • (): void
        • Returns void

    • setAsActiveWallet: (() => void)
        • (): void
        • Returns void

    • signTransactions: ((transactions) => Promise<Uint8Array[]>)
        • (transactions): Promise<Uint8Array[]>
        • Parameters

          • transactions: Uint8Array[]

          Returns Promise<Uint8Array[]>

    • signing: boolean
    • unloadClient: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

Generated using TypeDoc