Skip to content

Instruction Coverage โ€‹

The Squads Smart Account program exposes 37 instructions. This library implements the 22 needed for normal smart-account usage. โœ… = implemented (with a builder, composer, program method, and integration tests); ๐Ÿšซ = deliberately skipped; โฌœ = not yet implemented.

Core transaction lifecycle โ€‹

InstructionStatusDocs
createSmartAccountโœ…Create a Smart Account
createTransactionโœ…Create a Transaction
createProposalโœ…Create a Proposal
activateProposalโœ…Activate a Proposal
approveProposalโœ…Approve a Proposal
rejectProposalโœ…Reject a Proposal
cancelProposalโœ…Cancel a Proposal
executeTransactionโœ…Execute a Transaction
closeTransactionโœ…Close a Transaction
executeTransactionSyncโœ…Execute Synchronously

Settings transactions โ€‹

InstructionStatusDocs
createSettingsTransactionโœ…Create a Settings Transaction
executeSettingsTransactionโœ…Execute a Settings Transaction
closeSettingsTransactionโœ…Close a Settings Transaction
executeSettingsTransactionSyncโœ…Execute Synchronously

Authority actions (controlled accounts) โ€‹

InstructionStatusDocs
addSignerAsAuthorityโœ…Add a Signer
removeSignerAsAuthorityโœ…Remove a Signer
changeThresholdAsAuthorityโœ…Change the Threshold
setTimeLockAsAuthorityโœ…Set the Time Lock
setNewSettingsAuthorityAsAuthorityโœ…Set a New Settings Authority
setArchivalAuthorityAsAuthority๐ŸšซSkipped โ€” the archival feature is inert in the deployed program.

Spending limits โ€‹

InstructionStatusDocs
addSpendingLimitAsAuthorityโœ…Add a Spending Limit
useSpendingLimitโœ…Use a Spending Limit
removeSpendingLimitAsAuthorityโœ…Remove a Spending Limit

Not yet implemented โ€‹

AreaInstructions
Transaction bufferscreateTransactionBuffer, extendTransactionBuffer, closeTransactionBuffer, createTransactionFromBuffer
BatchescreateBatch, addTransactionToBatch, executeBatchTransaction, closeBatchTransaction, closeBatch
Program config (admin)initializeProgramConfig, setProgramConfigAuthority, setProgramConfigSmartAccountCreationFee, setProgramConfigTreasury
OtherlogEvent

Known limitations โ€‹

  • Address Lookup Tables (ALTs) are not supported โ€” createTransaction / executeTransaction handle simple compiled messages only.
  • Ephemeral signers are not supported (ephemeral_signers is fixed at 0).

Built on Solace