UNPKG

@signumjs/wallets

Version:

Wallets communication package for DApps in the Signum Network

16 lines (15 loc) 634 B
import { SendEncryptedMessageArgs, Wallet } from '../typings'; interface DeeplinkableWalletOpts { openInBrowser?: boolean; redirectProxy?: string; } export declare class GenericDeeplinkableWallet implements Wallet { readonly redirectProxy: string; private readonly openInBrowser; constructor(options?: DeeplinkableWalletOpts); protected eventuallyOpenInBrowser(url: string): Promise<string>; protected mountDeeplink(action: string, payload: object): string; confirm(unsignedTransaction: string): Promise<string>; sendEncryptedMessage(_args: SendEncryptedMessageArgs): Promise<string>; } export {};