@taquito/signer
Version:
Provide signing functionality to be with taquito
11 lines (10 loc) • 490 B
TypeScript
export type Curves = 'ed25519' | 'secp256k1' | 'p256' | 'bip25519';
/**
*
* @param seed bip39.mnemonicToSeed
* @param derivationPath Tezos Requirement 44'/1729' for HD key address default 44'/1729'/0'/0'
* @param curve 'ed25519' | 'secp256k1' | 'p256''
* @returns final Derivation of HD keys tezos Secret key
* @throws {@link InvalidCurveError} | {@link ToBeImplemented}
*/
export declare const generateSecretKey: (seed: Uint8Array, derivationPath: string, curve: Curves) => string;