ApiCoreFunctions
Function: createVault()
function createVault(params): AccountVault;Defined in: packages/core/src/identity/account-vault.ts:179
Assembles a fresh locked account; generates nothing and writes nothing.
Parameters
| Parameter | Type | Description |
|---|---|---|
params | { did: string; label?: string; wraps: readonly SeedWrap[]; } | - |
params.did | string | - |
params.label? | string | - |
params.wraps | readonly SeedWrap[] | May be empty: the recovery code is the seed, and opens it with nothing stored |