Skip to main content

Welcome to GLAM SDK

The GLAM SDK is a comprehensive TypeScript library for interacting with the GLAM Protocol on Solana. Build powerful applications for asset management, vault operations, DeFi integrations, and more.

What is GLAM?

GLAM (Global Liquidity and Asset Management) is a protocol on Solana that enables you to create and manage on-chain vaults with advanced features like:
  • Asset management with SOL and SPL tokens
  • DeFi protocol integrations (Jupiter, Drift, Kamino, Marinade)
  • Access control and transfer policies
  • Staking and liquid staking
  • Cross-chain transfers via CCTP

Key features

Easy to use

Simple, intuitive API that gets you started in minutes with TypeScript support

Modular architecture

Lazy-loaded clients for vault, DeFi protocols, pricing, and more

Full protocol coverage

Complete access to all GLAM Protocol features including integrations with Jupiter, Drift, Kamino, and Marinade

Production ready

Battle-tested SDK powering the GLAM CLI and other production applications

Installation

Get started by installing the SDK

Quickstart

Build your first GLAM application

GitHub

View the source code

GLAM Protocol

Learn more about GLAM

SDK architecture

The SDK is built around the GlamClient class, which provides access to specialized clients for different protocol features:
  • Vault operations - Deposits, withdrawals, transfers
  • State management - Initialize and configure vaults
  • DeFi integrations - Jupiter swaps, Drift trading, Kamino lending, Marinade staking
  • Access control - Enable protocols and set policies
  • Pricing - Get asset prices across protocols
  • Staking - Native staking and stake pools
  • CCTP - Cross-chain transfers
All clients are lazy-loaded, so you only import what you need.

Examples

The SDK powers production applications including:

Next steps

1

Install the SDK

Follow the installation guide to add the SDK to your project
2

Try the quickstart

Create your first vault with our quickstart guide
3

Explore the API

Dive deeper into specific features and integrations

Build docs developers (and LLMs) love