Prerequisites
Before starting, make sure you have:
- GLAM CLI installed (Installation Guide)
- A Solana wallet keypair file
- Access to a Solana RPC endpoint
Step 1: Create Configuration File
Create config.json
Create a
config.json file in ~/.config/glam/ with your settings:~/.config/glam/config.json
Replace
/path/to/your/keypair.json with the actual path to your Solana wallet keypair.Step 2: Create Your First Vault
Create a vault configuration file
Create a JSON file with your vault parameters. Here’s a simple vault example:
vault-config.json
This creates a vault with SOL as the base asset and allows holding SOL and USDC.
So11111111111111111111111111111111111111112is wrapped SOL (wSOL)EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vis USDC
Step 3: List Your Vaults
View all vaults where you are the owner or have delegate access:Use
glam-cli vault list --all to see all GLAM vaults on the network, or glam-cli vault list --owner-only to see only vaults you own.Step 4: Check Vault Balances
View the token balances in your vault:Next Steps
Now that you have a vault set up, you can:View Configuration Options
Learn about all available configuration settings
Manage Vault Assets
Transfer assets, enable integrations, and manage permissions
DeFi Integrations
Connect to Jupiter, Kamino, Drift, and other protocols
Create Tokenized Vaults
Launch investment products with custom fee structures