@alepop/lisk-musig
Version:
Three round m-of-m key aggregation for Lisk using the MuSig signature scheme
17 lines (16 loc) • 699 B
TypeScript
/// <reference types="node" />
import { BaseTransaction } from "@liskhq/lisk-transactions";
import { Keypair } from "@liskhq/lisk-cryptography";
import { Config as BaseConfig, Session as BaseSession, Round } from "@futuretense/ed25519-musig";
export { Round };
export interface ExtendedLiskKeyPair extends Keypair {
_seed: Buffer;
}
export declare class Config extends BaseConfig {
constructor(publicKeys: string[]);
get publicKey(): string;
}
export declare class Session extends BaseSession {
constructor(config: Config, keyPair: ExtendedLiskKeyPair, transaction: BaseTransaction);
}
export declare const generateKeyPairFromPassphrase: (passphrase: string) => ExtendedLiskKeyPair;