Skip to content

initiate-batch-send, transfer helpers, and claim-rent#178

Merged
bguillaumat-squads merged 1 commit intoSquads-Protocol:mainfrom
cavemanloverboy:improvements-2
Apr 8, 2026
Merged

initiate-batch-send, transfer helpers, and claim-rent#178
bguillaumat-squads merged 1 commit intoSquads-Protocol:mainfrom
cavemanloverboy:improvements-2

Conversation

@cavemanloverboy
Copy link
Copy Markdown
Contributor

@cavemanloverboy cavemanloverboy commented Apr 6, 2026

Adds two commands: initiate-batch-transfer and claim-rent.

  1. 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 as initiate-transfer, with optional --approve when the proposer can vote.

  2. 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-run to list estimates without sending.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

@cavemanloverboy is attempting to deploy a commit to the squads Team on Vercel.

A member of the Team first needs to authorize it.

@cavemanloverboy
Copy link
Copy Markdown
Contributor Author

without these changes there is no way to transfer the native sol in a multisig via the cli. initiate-transfer only does SPL tokens

Copy link
Copy Markdown
Contributor

@bguillaumat-squads bguillaumat-squads left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@bguillaumat-squads bguillaumat-squads merged commit 6e9fad6 into Squads-Protocol:main Apr 8, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants