How to create, upgrade, and change the authority of programs within your Squad.
For web3 native teams, the Programs section will be a part of the core operations of their Squad and it allows to:
  • Add programs;
  • Upgrade Programs;
  • Change authority of programs.

Owners can add programs to manage and upgrade them directly from their Squad.

  1. 1.
    Create and deploy a program using your CLI.

  1. 1.
    Navigate to the Programs section within your Squad's vault. Then click on 'Add Program.'
2. Enter the name and address of the program. Click "Next" and verify the transaction in the wallet pop-up.
Add program pop-up
3. Set the program’s upgrade authority to the address provided: copy the program authority update code and paste it into your CLI. The CLI code should be run by the current authority. Then click “Verify authority”.
NOTE: If the current authority is managed by a DAO or wallet you may need to set the authority by other means using the provided upgrade authority.
Add program pop-up

Once the program is added to a Squad it can be upgraded straight from your Squad.
To upgrade a program:
  1. 1.
    Deploy your upgrade to the buffer using the command below. (For Rust)
solana program write-buffer <PROGRAM_FILEPATH>
For more information about writing intermediary buffer accounts refer to the link:
2. Click on the program from the list and then click on the "Add upgrades" button;
3. Insert the details of the upgrade: name, buffer, and spill address, then click "Next" and approve the transaction in the wallet pop-up;
Upgrade a program pop-u
4. Set the authority of the buffer to the provided address by coping a code in your CLI. Then click “Verify authority”.
Upgrade program pop-up
5. Click on the "Upgrade" button. A transaction will be created, after it meets the confirmation threshold and gets executed, a program upgrade will be deployed.

Program authority can be changed directly from a Squad after a program was added.
To do this:
  1. 1.
    Click on the program from the programs list;
  2. 2.
    Click on the "Change authority" button;
  3. 3.
    Insert a new program authority address and initiate a transaction.
  4. 4.
    Program authority will be changed upon transaction execution.
Copy link
On this page
Create and add Programs
Upgrade a program
Change Authority