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

x/polkadot/util-crypto/bundle.ts>sr25519Agreement

Package publishing for deno.land/x/polkadot
Go to Latest
function sr25519Agreement
import { sr25519Agreement } from "https://deno.land/x/polkadot@0.2.27/util-crypto/bundle.ts";

Parameters

secretKey: HexString | Uint8Array | string
publicKey: HexString | Uint8Array | string

Returns

Uint8Array