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

nkeys.createAccount

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

const { createAccount } = nkeys;

Creates a KeyPair with an account prefix

function createAccount(): KeyPair;
§
createAccount(): KeyPair
[src]

§Return Type

§

Returns the created KeyPair.