minca
ApiCoreFunctions

Function: wrapSeedWithPassphrase()

function wrapSeedWithPassphrase(
   seed, 
   passphrase, 
   label?
): Promise<PassphraseWrap>;

Defined in: packages/core/src/identity/account-vault.ts:111

Wraps a seed under a passphrase — the portable way back in.

Parameters

ParameterTypeDefault value
seedUint8Arrayundefined
passphrasestringundefined
label?string'Passphrase'

Returns

Promise<PassphraseWrap>

On this page