Skip to main content

wallet-solana-squads/src

Functions

createSquadsWallet()

createSquadsWallet(network, connection, keypair, multisigPda, squadMember): Promise<{ buildTransaction: (instructions, lifetimeConstraint) => Promise<Readonly<{ }>>; network: string; publicKey: Address; }>
Defined in: packages/wallet-solana-squads/src/index.ts:75 Creates a Squads multisig wallet for Solana. Wraps the Squads SDK (still on @solana/web3.js v1 internally) and exposes a kit-typed Wallet via a bridge: callers pass kit Instructions, the package converts them to v1 TransactionInstructions, runs them through the full @sqds/multisig proposal + approve + execute flow, serializes the resulting v1 VersionedTransaction, and decodes the bytes as a kit Transaction.

Parameters

network
string Solana network identifier.
connection
Connection Solana RPC connection (v1).
keypair
Keypair Admin keypair for creating and signing proposals.
multisigPda
PublicKey Program-derived address of the Squads multisig.
squadMember
Keypair Additional squad member keypair for approval quorum.

Returns

Promise<{ buildTransaction: (instructions, lifetimeConstraint) => Promise<Readonly<{ }>>; network: string; publicKey: Address; }> A wallet object that builds and executes multisig transactions.