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

x/polkadot/util-crypto/ed25519/index.ts>ed25519Sign

Package publishing for deno.land/x/polkadot
Go to Latest
function ed25519Sign
import { ed25519Sign } from "https://deno.land/x/polkadot@0.2.14/util-crypto/ed25519/index.ts";

Examples

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

ed25519Sign([...], [...]); // => [...]

Parameters

message: HexString | Uint8Array | string
unnamed 1: Partial<Keypair>
optional
onlyJs: boolean

Returns

Uint8Array