Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util-crypto/sr25519/derive.ts>createDeriveFn

Package publishing for deno.land/x/polkadot
Go to Latest
function createDeriveFn
import { createDeriveFn } from "https://deno.land/x/polkadot@0.2.13/util-crypto/sr25519/derive.ts";

Parameters

derive: (pair: Uint8Array, cc: Uint8Array) => Uint8Array

Returns

(keypair: Keypair, chainCode: Uint8Array) => Keypair