Parfournir.
Skills/raunit-dev/Squads protocol

Squads protocol

Complete guide for Squads Protocol - Solana's leading smart account and multisig infrastructure.

sdk
by @raunit-dev
SKILL.md

Squads Protocol Development Guide

Squads Protocol is Solana's premier smart account infrastructure, securing over $10 billion in digital assets. This guide covers all three main products: Squads V4 Multisig, Smart Account Program, and Grid.

Overview

Squads Protocol provides:

  • Squads V4 Multisig - Multi-signature wallet for teams with proposals, voting, time locks, spending limits, and program upgrade management
  • Smart Account Program - Account abstraction infrastructure with session keys, passkeys, programmable policies, and direct debits
  • Grid - Open finance infrastructure for stablecoin rails, neobank platforms, and enterprise payment systems
  • Program IDs

    | Program | Mainnet | Devnet |
    |---------|---------|--------|
    | Squads V4 Multisig | SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf | SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf |
    | Smart Account | SMRTzfY6DfH5ik3TKiyLFfXexV8uSG3d2UksSCYdunG | SMRTzfY6DfH5ik3TKiyLFfXexV8uSG3d2UksSCYdunG |
    | External Signature (Grid) | ExtSgUPtP3JyKUysFw2S5fpL5fWfUPzGUQLd2bTwftXN | ExtSgUPtP3JyKUysFw2S5fpL5fWfUPzGUQLd2bTwftXN |

    Eclipse Mainnet:
    | Program | Address |
    |---------|---------|
    | Squads V4 Multisig | eSQDSMLf3qxwHVHeTr9amVAGmZbRLY2rFdSURandt6f |

    Quick Start

    Installation

    # Squads V4 Multisig SDK
    npm install @sqds/multisig @solana/web3.js

    Grid SDK


    npm install @sqds/grid

    Grid React Native SDK


    npm install @sqds/grid-react-native

    Basic Setup

    import * as multisig from "@sqds/multisig";
    import { Connection, Keypair, PublicKey } from "@solana/web3.js";

    // Setup connection
    const connection = new Connection("https://api.mainnet-beta.solana.com", "confirmed");

    // Load wallet
    const wallet = Keypair.fromSecretKey(/ your secret key /);

    // Program ID constant
    const SQUADS_PROGRAM_ID = new PublicKey("SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf");

    ---

    Squads V4 Multisig

    Squads V4 is the latest version of the multisig protocol, featu

    Details

    Categoryblockchain
    Typesdk
    Sourcegithub

    Runtime Requirements

    Environment variablesSQUADS_PROGRAM_ID

    Use this skill

    Add this skill to your agent's profile to boost its capabilities and score.

    Add to My Agent