The v4 program is the latest upgrade to Squads Protocol. It expands the capabilities of multisig with several new features, including time locks, spending limits, roles, sub-accounts, multiple-party payments and support for address lookup tables. This program was designed to make it easier for developers to leverage multisig consensus and account abstraction on Solana, facilitating the creation of fintech-like applications and enhancing the secure management of on-chain assets.
This repository contains:
@sqds/multisig
Typescript SDK to interact with the v4 program.squads-multisig
crate to interact with the v4 program in Solana programs as well as Rust client applications.The Squads Protocol v4 program is deployed to:
SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf
SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf
Both deployments can be verified using the Ellipsis Labs verifiable build tool.
By interacting with this program, users acknowledge and accept full personal responsibility for any consequences, regardless of their nature. This includes both potential risks inherent to the smart contract, also referred to as program, as well as any losses resulting from user errors or misjudgment.
By using a multisig, it is important to acknowledge certain concepts. Here are some that could be misunderstood by users:
You can interact with the Squads program via our SDKs.
List of SDKs:
Documentation:
You can compile the code with Anchor.
anchor build
If you do not have the Solana Anchor framework CLI installed, you can do so by following this guide.
To deploy the program on a local validator instance for testing or development purposes, you can create a local instance by running this command from the Solana CLI.
solana-test-validator
To run the tests, first install the node modules for the repository.
yarn
or
npm install
And run these tests with this command:
yarn test
First, compile the programs code from the Squads-Protocol/v4
Github repository to get its bytecode.
git clone https://github.com/Squads-Protocol/v4.git
anchor build
Now, install the Ellipsis Labs verifiable build crate.
cargo install solana-verify
Get the executable hash of the bytecode from the Squads program that was compiled.
solana-verify get-executable-hash target/deploy/multisig.so
Get the hash from the bytecode of the on-chain Squads program you want to verify.
solana-verify get-program-hash -u <cluster url> SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf
If the hash outputs of those two commands match, the code in the repository matches the on-chain programs code.
Instructions on how to interact with the Squads V4 program can be found in the Squads developer portal.
Squads Protocol v4 has undergone various independent audits by leading cybersecurity and blockchain smart contract auditing firms.
Below is a list of audit reports pertaining to the v4 program. Each entry enumerates the responsible auditor and is accompanied by a corresponding GitHub link for review:
The primary license for Squads Protocol v4 is the Business Source License 1.1 (BUSL-1.1
), see LICENSE. The following exceptions are not licensed under the BULS-1.1, but are licensed separately as follows:
To the extent that each such file incorporates code from another source, such code is licensed under its respective open source license as provided above, and the original open source code is copyrighted by its respective owner as provided above.
Generated using TypeDoc