env
Display current environment setup including wallet, RPC endpoint, active vault, and configuration details.Examples
Example Output
Output Details
GLAM Protocol program: The public key of the GLAM Protocol program being used. Staging: Whether the staging environment is enabled. Wallet connected: The public key of the connected wallet used to sign transactions. RPC endpoint: The Solana RPC endpoint URL being used for network communication. Priority fee: Configuration for transaction priority fees. Shows either:micro_lamports: Fixed priority fee amount in micro-lamportslevel: Dynamic priority level (e.g., ‘low’, ‘medium’, ‘high’, ‘veryHigh’)
When No Vault is Set
If no GLAM vault is currently configured, the output will show:Use Cases
- Verify configuration: Check that your CLI is configured correctly before executing commands
- Debug connection issues: Verify RPC endpoint and wallet connectivity
- Confirm active vault: Ensure you’re operating on the correct vault before making changes
- Check environment: Verify you’re on the correct network (mainnet, devnet, localnet)