@polkadot/util-crypto
Version:
A collection of useful crypto utilities for @polkadot
4 lines (3 loc) • 310 B
TypeScript
import type { Keypair } from '../types.js';
import type { DeriveJunction } from './DeriveJunction.js';
export declare function createSeedDeriveFn(fromSeed: (seed: Uint8Array) => Keypair, derive: (seed: Uint8Array, chainCode: Uint8Array) => Uint8Array): (keypair: Keypair, junction: DeriveJunction) => Keypair;