UNPKG

@reactive-dot/wallet-mimir

Version:

Mimir adapter for ReactiveDOT

25 lines 886 B
import { type PolkadotSignerAccount, Wallet, type WalletOptions } from "@reactive-dot/core/wallets.js"; import { Observable } from "rxjs"; export type MimirWalletOptions = WalletOptions & { originName?: string; }; export declare class MimirWallet extends Wallet<MimirWalletOptions, "connected"> { #private; readonly id = "mimir"; readonly name = "Mimir"; readonly connected$: Observable<boolean>; readonly accounts$: Observable<PolkadotSignerAccount[]>; constructor(options?: MimirWalletOptions); getAccounts(): Promise<{ address: string; genesisHash?: string | null; name?: string; type?: string; id: string; polkadotSigner: import("polkadot-api").PolkadotSigner; }[]>; initialize(): Promise<void>; connect(): Promise<void>; disconnect(): void; } //# sourceMappingURL=mimir-wallet.d.ts.map