initiate-batch-send, transfer helpers, and claim-rent#178
Merged
bguillaumat-squads merged 1 commit intoSquads-Protocol:mainfrom Apr 8, 2026
Merged
Conversation
|
@cavemanloverboy is attempting to deploy a commit to the squads Team on Vercel. A member of the Team first needs to authorize it. |
fbc5e34 to
a985cf9
Compare
a985cf9 to
68abb0f
Compare
Contributor
Author
|
without these changes there is no way to transfer the native sol in a multisig via the cli. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two commands:
initiate-batch-transferandclaim-rent.initiate-batch-transfer: batches multiple SOL and SPL moves from the vault into one vault-transaction proposal. Pass each leg with--transfer: sol:<recipient>:<lamports>for SOL, or<mint>:<recipient>:<raw_amount>for SPL. It follows the same confirmation and signing flow asinitiate-transfer, with optional--approvewhen the proposer can vote.claim-rent: Scans the last N multisig transaction indices for executed/terminal proposals whose vault, config, or batch accounts can be closed, then sends batched close instructions so rent returns to the multisig rent collector; use--dry-runto list estimates without sending.