Overview
GLAM CLI supports three types of vaults, each with its own template and use case:- Vault: Basic vault for managing assets
- Tokenized Vault: Vault with share tokens for investor subscriptions/redemptions
- Single Asset Vault: Specialized vault for managing a single asset type
glam vault create command with a JSON configuration file.
Available Templates
GLAM provides starter templates in thetemplates/ directory:
vault.json - Basic Vault
vault.json - Basic Vault
tokenized.json - Tokenized Vault
tokenized.json - Tokenized Vault
single-asset.json - Single Asset Vault
single-asset.json - Single Asset Vault
Creating Your First Vault
Copy a template
Choose the appropriate template for your use case and copy it to your working directory:
Customize configuration
Edit the JSON file to customize your vault:
The
baseAssetMint is the primary deposit asset. Use So11111111111111111111111111111111111111112 for SOL.Create the vault
Run the create command:The CLI will display a confirmation prompt with vault details.
Skip Confirmation Prompt
Use the-y or --yes flag to skip the confirmation prompt:
Configuration Reference
State Configuration
| Field | Type | Required | Description |
|---|---|---|---|
accountType | string | Yes | Vault type: vault, tokenizedVault, or singleAssetVault |
name | string | Yes | Vault name (displayed in listings) |
enabled | boolean | No | Whether vault is enabled (default: true) |
baseAssetMint | string | Yes | Primary deposit asset mint address |
assets | array | No | Asset allowlist (mint addresses) |
Mint Configuration (Tokenized/Single Asset Only)
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Share token name |
symbol | string | Yes | Share token symbol |
uri | string | Yes | Metadata URI |
maxCap | number | No | Maximum total supply |
minSubscription | number | No | Minimum subscription amount |
minRedemption | number | No | Minimum redemption amount |
lockupPeriod | number | No | Lockup period in seconds |
Fee Structure
Fees are specified in basis points (1 bps = 0.01%):Listing Vaults
View all your vaults:Viewing Vault Details
Inspect a vault’s full configuration:Next Steps
Managing Assets
Add assets to the allowlist and check token balances
Delegate Permissions
Grant delegates permission to manage your vault
Investor Operations
Enable subscriptions and redemptions for tokenized vaults