Skip to main content
Build a complete multisig workflow using the Squads TypeScript SDK. Create a multisig, propose a transaction, vote on it, and execute it.

Prerequisites

Quick example

Full example

Find the complete code for this guide here.
1

Set up your workspace

Create a new directory:
Create tsconfig.json:
Create package.json:
Create main.ts:
2

Create a multisig

3

Create a transaction proposal

Create a transaction proposal to send 0.1 SOL from the multisig vault to the creator.
4

Vote on the proposal

5

Execute the transaction

6

Start a local validator

Start a local validator with the Squads V4 program preloaded:
7

Run the script

Visualize transactions

View transactions on Solana Explorer by pasting the signature and selecting the appropriate cluster endpoint.
If local validator issues occur, switch to devnet by updating the connection:
For devnet rate limit workarounds:
Add this at the beginning of your first test: