Skip to content

deploy IDL and program through Squads multisig#282

Closed
pileks wants to merge 5 commits into
developfrom
pileks/squads-idl-deploy
Closed

deploy IDL and program through Squads multisig#282
pileks wants to merge 5 commits into
developfrom
pileks/squads-idl-deploy

Conversation

@pileks
Copy link
Copy Markdown
Contributor

@pileks pileks commented Apr 28, 2025

This PR should (need to test for this repo in particular) introduce deploying programs through a Squads multisig.

It assumes that the previous workflows work, which should be the case as I've taken a look at the previous runs.

Prerequisites:

  • Squads multisig PDA set up, together with vault.
    • The multisig PDA and the vault index (0 for the first vault) are inputs into the workflow dispatch, need to set them as such.
  • The deployer keypair needs to be part of the squads multisig
    • They are the ones proposing the multisig transaction which sets the program/idl buffers
  • Ideally, you can set the deployer keypair as the spill_address as well
  • Set the workflow defaults to values that work for MetaDAO

We can later think of optimizing this flow, but the basics are now here and they should work nicely.
I have a bit of a different example (2-job workflow) set up in my example repo, we can take inspiration from there as well.

@pileks pileks requested review from R-K-H and metaproph3t April 28, 2025 14:42
@pileks pileks self-assigned this Apr 28, 2025
@R-K-H R-K-H requested a review from jrooks7 May 5, 2025 17:32
@R-K-H R-K-H deleted the pileks/squads-idl-deploy branch January 2, 2026 18:06
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