@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
14 lines (13 loc) • 309 B
TypeScript
import { Shh } from 'web3-shh';
import { Signer } from 'did-jwt';
interface Account {
address: string;
signer: Signer;
}
interface Options {
payload: any;
request: any;
response: any;
}
declare function post(shh: Shh, account: Account, options: Options): Promise<string>;
export { post };