UNPKG

@polkadot/util-crypto

Version:
4 lines (3 loc) 310 B
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;