API reference / @evolu/common / Crypto / createSlip21

Function: createSlip21()

function createSlip21(
  seed,
  path,
): Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32">;

Defined in: packages/common/src/Crypto.ts:71

SLIP21.

https://github.com/satoshilabs/slips/blob/master/slip-0021.md

Parameters

ParameterType
seed| Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length16"> | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length64">
pathreadonly (string | number)[]

Returns

Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32">

Was this page helpful?