Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

nkeys.fromSeed

import { nkeys } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts"; 

const { fromSeed } = nkeys;

Creates a KeyPair from a specified seed.

function fromSeed(src: Uint8Array): KeyPair;
§
fromSeed(src: Uint8Array): KeyPair
[src]

§Parameters

§
src: Uint8Array
[src]

§Return Type

§

Returns the created KeyPair.