UNPKG

@desig/web3

Version:

Desig: The Blockchain-Agnostic Multisig Solution

20 lines (19 loc) 755 B
import { Connection } from './connection'; import type { MultisigEntity, SignerEntity } from './types'; import { DesigKeypair } from './keypair'; export declare class Signer extends Connection { constructor(cluster: string, privkey: string); watch: (callback: (signerId: string, er?: string) => void) => () => void; getAllSigners: (filter?: Partial<{ multisigId: string; }>) => Promise<(SignerEntity & { multisig: MultisigEntity; })[]>; getSigner: (signerId: string) => Promise<SignerEntity & { multisig: MultisigEntity; }>; activateSigner: (signerId: string) => Promise<SignerEntity & { multisig: MultisigEntity; }>; getSignerKeypair: (signerId: string) => Promise<DesigKeypair>; }