UNPKG

@did-kr-cg/whisper-connect

Version:

Whisper Connect is an easy and simple decentralized (without kind of a google cloud services) p2p connect solution. Desktop browser login via mobile app. or create transaction for smart contracts and send a signature and message via whisper too. and it ca

19 lines (18 loc) 438 B
import { Signer } from 'did-jwt'; import { AbiItem } from 'web3-utils'; interface Account { address: string; signer: Signer; } interface Options { abiEnable: boolean; urlEnable: boolean; } declare function subscribe(shh: any, account: Account, abi: AbiItem, options: Options, notification?: any): Promise<{ jwt: string; qr: { request: any; iss: string | undefined; }; }>; export { subscribe };