@funded-labs/plug-controller
Version:
Internet Computer Plug wallet's controller
9 lines (8 loc) • 401 B
TypeScript
import tweetnacl from 'tweetnacl';
import Secp256k1PublicKey from '../identity/secpk256k1/publicKey';
export interface Secp256k1KeyPair {
publicKey: Secp256k1PublicKey;
secretKey: ArrayBuffer;
}
export declare const createKeyPair: (mnemonic: string, index?: number) => tweetnacl.SignKeyPair;
export declare const createSecp256K1KeyPair: (mnemonic: string, index?: number) => Secp256k1KeyPair;