Skip to article
CogniTech.Docs

Initialize and unlock a vault

Wallet scope, browser encryption, receive keys, and the local vault lifecycle.

On this page

Scope and prerequisites

A vault is scoped to chain ID, pool address and wallet address. An Elysium wallet connection identifies the scope, while the vault password decrypts a browser-local record. The wallet signature used for chat sign-in is unrelated to note decryption. Vault operations rely on a secure browser context for Web Crypto and Web Locks.

When no local record exists, the creation path requires a password of at least 12 characters, generates a receive key through the SDK, and saves the first encrypted record. Unlocking an existing record verifies its scope and decrypts it before publishing balances or receive identity. The provider recovers journal entries and reconciles balances during unlock.

Vault state
  1. Disconnected
  2. Connected on Elysium
  3. Check encrypted record
  1. New scope
  2. Create or import
  3. Unlocked
  4. Lock or switch wallet
  1. Existing scope
  2. Password unlock
  3. Reconcile
  4. Unlocked

Locking and another device

Lock drops the current in-memory session and hides its sensitive view. An account or network change invalidates the previous scope. To move a vault to a second browser, export and import a compatible encrypted backup; signing into chat or Strategies only restores their server-side data.

See encryption and backup and recovery.