Skip to main content

View Environment Setup

glam-cli env

List Vaults

  • By default only vaults the connected wallet has access to (either as owner or delegate) will be listed
  • --owner-only: if set only products owned by the wallet will be listed
  • --all: if set all products will be listed
glam-cli vault list [--owner-only] [--all]

Set Active Vault

Saves the vault state to the config file. Follow-up commands will use this vault state unless otherwise specified.
glam-cli vault set <vault_state>

View Vault Details

  • --compact: if set the output will be a compact json
  • vault_state: if not set the current active vault will be used
glam-cli vault view [--compact] [vault_state]

Create a Vault

  • See the templates/ directory for available templates
glam-cli vault create <path-to-template.json>

Close a Vault

Vault can only be closed by the owner. Tokenized vaults cannot be closed if mint supply is greater than 0.
  • vault_state: if not set the current active vault will be used
  • --yes: if set, the confirmation prompt will be skipped
glam-cli vault close [vault_state] [--yes]