glam

Manage Solana DeFi vaults via GLAM Protocol CLI and TypeScript SDK.

Updated Jul 28, 2026
One-click install
npx skills add https://github.com/IagoPrandi/zeroclaw-plugin --skill glam-iagoprandi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: glam
Source: https://github.com/IagoPrandi/zeroclaw-plugin/tree/main/.claude/skills/solana-dev/ext/sendai/skills/glam
Command: npx skills add https://github.com/IagoPrandi/zeroclaw-plugin --skill glam-iagoprandi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @glamsystems/glam-cli, @glamsystems/glam-sdk, @solana/web3.js, @coral-xyz/anchor, and includes references (resource) components.

What problem does it solve? Managing programmable investment vaults on Solana requires coordinating many protocols (Jupiter, Drift, Kamino, Marinade, CCTP) with strict access control, and a single missed step like forgetting to enable an integration causes transactions to fail. ## Core Features & Use Cases - Vault Lifecycle Management: Create standard or tokenized vaults, configure share classes, set NAV pricing, and process investor subscriptions and redemptions. - Multi-Protocol DeFi Operations: Execute Jupiter swaps, Drift perpetuals and spot trading, Kamino lending and vaults, liquid staking, and cross-chain USDC bridging via CCTP. - Access Control & Policy: Grant protocol-scoped delegate permissions, manage asset and market allowlists, and protect vaults with timelocked configuration changes. - Use Case: A treasury manager creates a tokenized vault, enables Jupiter and Kamino integrations, delegates trading permissions to an operator wallet, and sets a 24-hour timelock for security. ## Quick Start Ask the assistant to create a GLAM vault with SOL and USDC as assets and enable the Jupiter swap integration using glam-cli.

Frequently Asked Questions about glam

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GLAM vault on Solana?▼

Create a GLAM vault by running glam-cli vault create with a JSON template file, then set it active with glam-cli vault set using the returned vault state pubkey. The template defines the vault name and allowed asset mints such as SOL and USDC.

How to swap tokens from a GLAM vault using Jupiter?▼

Swap tokens by first enabling the JupiterSwap integration with glam-cli integration enable JupiterSwap, then run glam-cli jupiter swap with the from mint, to mint, amount, and a --slippage-bps value. Integrations must be enabled before use or the transaction fails.

Why does glam-cli return 'Signer is not authorized'?▼

The 'Signer is not authorized' error means your keypair is not the vault owner or lacks delegate permissions. Check the owner with glam-cli vault view, then grant protocol-scoped permissions with glam-cli delegate grant <PUBKEY> <PERMS> --protocol <PROTOCOL>.

Can I use the GLAM TypeScript SDK instead of the CLI?▼

Yes, the @glamsystems/glam-sdk package provides a GlamClient with sub-clients for vault, access, jupiterSwap, drift, kaminoLending, invest, mint, and cctp operations. It supports custom wallets, read-only mode, and a txBuilder pattern for Squads multisig transactions.

What are the limitations of GLAM staking integrations?▼

Marinade, StakePool, Sanctum, and native StakeProgram integrations are staging-only and unaudited, so their commands require the --bypass-warning flag. Production vaults should prefer audited integrations like JupiterSwap, DriftProtocol, and KaminoLend.