Skip to main content
Module

x/polkadot/mod.ts>utilCrypto.ed25519Sign

Package publishing for deno.land/x/polkadot
Go to Latest
function utilCrypto.ed25519Sign
import { utilCrypto } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { ed25519Sign } = utilCrypto;

Examples

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

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

Parameters

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

Returns

Uint8Array