Faremeter API / wallet-solana-squads/src
wallet-solana-squads/src
Functions
createSquadsWallet()
createSquadsWallet(Defined in: packages/wallet-solana-squads/src/index.ts:28 Creates a Squads multisig wallet for Solana. Wraps the Squads SDK to create proposals, gather approvals, and execute vault transactions through a multisig workflow.network,connection,keypair,multisigPda,squadMember):Promise<{buildTransaction: (instructions) =>Promise<VersionedTransaction>;network:string;publicKey:PublicKey; }>
Parameters
network
string
Solana network identifier.
connection
Connection
Solana RPC connection.
keypair
Keypair
Admin keypair for creating and signing proposals.
multisigPda
PublicKey
Program-derived address of the Squads multisig account.
squadMember
Keypair
Additional squad member keypair for approval quorum.
Returns
Promise<{ buildTransaction: (instructions) => Promise<VersionedTransaction>; network: string; publicKey: PublicKey; }>
A wallet object that builds and executes multisig transactions.