Skip to main content
When a GLAM vault is owned by a Squads multisig, all vault operations must go through the Squads approval process. This guide shows how to create Squads proposals for GLAM vault operations using the SDK.

Prerequisites

  • A GLAM vault where the manager is set to a Squads vault PDA
  • A wallet with Squads Proposer permission
  • The @sqds/multisig package installed alongside the GLAM SDK

How It Works

  1. Build a GLAM instruction using the SDK’s txBuilder methods
  2. Wrap the instruction in a Squads vault transaction
  3. Create a Squads proposal for multisig members to vote on
  4. Once approved, the transaction executes through Squads

Creating a Proposal

The following example creates a proposal to enable the JupiterSwap protocol on a vault:

Finding Your Squads Multisig Address

The multisig PDA is different from the Squads vault address. To find it:
  1. Go to https://app.squads.so/squads/<your-squads>/settings
  2. Look for the “Multisig Account” address

Other Vault Operations

You can create proposals for any GLAM vault operation by using the appropriate txBuilder method:
The pattern is the same: build the instruction with squadsVaultPda as the signer, wrap it in a Squads transaction, and create a proposal.

After Creating a Proposal

Once the proposal is created:
  1. Share the proposal URL with other multisig members
  2. Members vote on the proposal through the Squads UI
  3. When the threshold is reached, any member can execute the transaction
  4. The GLAM vault operation takes effect

References