Now as I am getting some real users I am thinking to move away from the single update authority to the multi-sig, preferably squads. Is there a tutorial on same?
1 Answer
Yes, definitely checkout Squads! It's an open-source multisig on Solana with amazing docs and is built by a really great team. If you follow the step-by-step guide linked below, you should be good.
In short, the steps to setup the multisig authority are:
- Create a multisig and setup your signers.
- Register your program with the multisig.
- Use the Solana CLI to change your program's update authority to the multisig account.
- Done!
Now to upgrade your program, you simply need to:
- Write the new program executable bytes to a buffer account.
- Create a new "deployment" from the multisig.
- Get all the required signatures from the people on your multisig.
- Done!
https://docs.squads.so/squads-v3-docs/navigating-your-squad/programs