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

x/polkadot/util-crypto/ed25519/pair/fromSeed.ts>ed25519PairFromSeed

Package publishing for deno.land/x/polkadot
Go to Latest
function ed25519PairFromSeed
import { ed25519PairFromSeed } from "https://deno.land/x/polkadot@0.2.38/util-crypto/ed25519/pair/fromSeed.ts";

Examples

import { ed25519PairFromSeed } from 'https://deno.land/x/polkadot@0.2.38/util-crypto/mod.ts';

ed25519PairFromSeed(...); // => { secretKey: [...], publicKey: [...] }

Parameters

seed: Uint8Array
optional
onlyJs: boolean