Vaults

Vaults store encrypted Wallet information in Elements using a public/private key pair.

Vaults are the heart of the custodial wallet system provided by Elements. A Vault securely stores multiple wallets and consists of a public/private key pair.

The contents of the vault's private key can be optionally secured using AES-256arrow-up-right. If enabled on a vault, the user must supply their secret passphrase on each request to unlock the contents of the vault.

circle-exclamation

Because the Vault uses private key encryption, it is possible to generate or insert new custodial wallets without needing to unlock the vault first. In this case, Elements simply uses the public key to insert the wallet into the Vault.

Vault Properties

  • user - The user which owns the vault

  • key - The key pair which Elements uses to store the wallets in the Vault

Vault Key Properties