
In this guide
The decisions and working steps ahead.
The upgrade authority
Move it to a multisig, or make the program immutable
The other authorities
On this page
The last milestone of a Solana build is easy to treat as paperwork. But a deployed program is controlled by keys and accounts, not by a contract. If the upgrade authority still sits in a file on a contractor's laptop, that contractor can replace your program's code tomorrow, whatever the statement of work says.
This guide covers what you should hold when an outside team hands a Solana program over, with a checklist at the end. It assumes a program deployed with the standard upgradeable loader, which is what solana program deploy and anchor deploy use by default.
The upgrade authority
A program deployed with the upgradeable loader has two accounts: the program account, whose address is the program ID your users and clients call, and a program data account that stores the compiled code and the current upgrade authority. The upgrade authority is the one key that can replace that code. Whoever holds it can change how the program treats the accounts it owns, including vaults and user positions.
To see who holds it:
solana program show <PROGRAM_ID>If the Authority line shows an agency address, the program is still theirs in practice.
When you deploy with the CLI, the deploying keypair becomes the upgrade authority unless you pass a different one. On an agency build that is often the agency's deploy wallet. Plan the transfer as a dated step.
Move it to a multisig, or make the program immutable
You have two reasonable end states.
Upgradeable, behind a multisig. This keeps the ability to ship fixes. Put the authority behind a multisig with a stated threshold and named signers, such as two of three people at your company. Squads is a common choice on Solana. With a multisig, an upgrade becomes a proposal that the required signers approve, rather than one person running a command.
Immutable. Setting the authority to none (--final in the CLI) means nobody can change the program again, including you. Users no longer have to trust an admin, but a bug found later cannot be fixed in place. The step cannot be undone, so record why you chose it.
To move the authority, the current holder runs solana program set-upgrade-authority with the new address. Recent CLI versions expect the new authority to sign the transfer as well. When the new authority cannot sign from the command line, as with a multisig vault or a PDA, the current holder adds --skip-new-upgrade-authority-signer-check. That flag also skips the safety net: nobody proves they control the new address. Because a wrong address is permanent, rehearse the whole sequence on devnet first: create the multisig, transfer a test program's authority to its vault, then run one upgrade through a multisig proposal. On mainnet, check the vault address character by character before sending, and run solana program show afterwards to confirm the new holder.
Our Solana program upgrade guide covers building from a pinned toolchain and publishing a verifiable build so anyone can check that the code on chain matches a commit.
The other authorities
The upgrade authority is the most powerful key, but rarely the only one. List these as well:
- Admin roles inside the program. Fee rates, fee recipients, pause switches and allowlists are usually stored in a config account and changed by an instruction that checks a signer. Transferring the upgrade authority does not change them. They move through the program's own instructions, so confirm the program has one for each role.
- Token authorities. A mint can have a mint authority and a freeze authority. Token-2022 extensions can add more, such as a transfer fee config authority or a permanent delegate. Token metadata usually has an update authority.
Program keypairs and deploy wallets
A program ID is the public key of the keypair used for the first deployment. Once a program is live under the upgradeable loader, that keypair no longer controls upgrades. The upgrade authority does. The keypair still matters for any program that is not on mainnet yet: whoever holds it can deploy to that address first. If the agency generated keypairs for programs that only exist on devnet, collect them or generate fresh ones on your side before the mainnet deploy.
Deploy wallets paid for the deployment. Settle two things:
- Leftover buffer accounts. A deploy writes the program to a buffer account first. An interrupted deploy can leave a buffer behind, holding SOL as rent. solana program show --buffers lists buffers for an authority, and the buffer authority can close them to reclaim the SOL. Our deployment budget guide explains how much SOL a deploy ties up.
- Who funds the next deploy. Upgrades need SOL for a new buffer. Pick the paying wallet and keep it separate from the upgrade authority.
Do not accept private key files over chat or email. Generate new keys on your side, have the agency transfer each authority to them, and treat every key the agency held as retired.
Repository and CI
The repository should live in your organization, with full history, not as a zip file. Check that:
- The commit deployed to mainnet is tagged, and you can build it again with the pinned Rust, Solana and Anchor versions and the committed lock file.
- CI runs the test suite on your account, and every secret it uses (RPC keys, deploy credentials, notification tokens) has been moved to your secret store and rotated.
If CI can deploy to mainnet, find out which key it signs with. A pipeline that holds the upgrade authority hands it to anyone who can read your CI secrets.
RPC, indexer and hosting accounts
Your app reads the chain through an RPC provider, and many products also run an indexer or webhooks that store trades or payments in a database. These accounts are often opened on the agency's card during the build.
Move each to an account your company owns: RPC providers, webhook endpoints, the indexer database and host, frontend hosting, and the domain. Rotate every API key afterwards. Ask for the procedure that rebuilds the indexer's state from the chain, and run it once while the agency is still available to answer questions.
Monitoring and alert routing
Monitoring is only useful if the alerts reach your people. The operations section of our Solana mainnet launch checklist lists the alerts worth having: failed transactions, use of an authority, vault balance drift and RPC error rate, each with a named person who receives it.
At handover, point every alert at your on-call channel, then trigger one test alert per rule and confirm someone received it. After a transfer, the alert on authority use matters most: if an old key is ever used, you want to know within minutes.
Runbooks
Get the knowledge that is not in the code written down before the engagement ends:
- How to deploy an upgrade through the multisig, step by step.
- What to do if a key is compromised: who revokes, who pauses, and in what order.
- How to pause the actions that move value, and how to resume them.
- How to fail over to a second RPC provider.
- How to rebuild the indexer.
A runbook is finished when someone on your team has followed it on devnet without help.
Audit reports
Keep the final report from every independent audit, each finding's status, and the commit hashes for the audited code and each fix. Compare the audited commit with the one deployed on mainnet. If code changed after the audit, find out what changed and whether a reviewer saw it.
For future changes, our page on preparing a Solana program for an independent audit lists what an auditor needs: the pinned commit in scope, each privileged action mapped to its signing authority, and the test command with expected results.
Handover checklist
Each line should end with a name and a date.
- solana program show lists your multisig, or none, as the upgrade authority for every program.
- The multisig threshold and named signers are written down, and one upgrade has run through it on devnet.
- Every admin role in program config accounts has moved to an address you control.
- Mint, freeze, metadata and extension authorities on each token are listed with their holders.
- Keypairs for programs not yet on mainnet are in your custody, or replaced.
- Leftover buffer accounts are closed or listed with their authority.
- Agency-held keys are retired, and none of them holds an authority.
- The repository is in your organization, and the deployed commit is tagged and rebuilds.
- CI secrets are in your store and rotated.
- RPC, indexer, hosting and domain accounts are in your company's name, with keys rotated.
- Every alert routes to your on-call channel, and a test alert reached a person.
- Runbooks for upgrade, key compromise, pause, RPC failover and indexer rebuild exist and were followed once.
- Audit reports, finding status and audited commits are stored, and the deployed commit matches or the difference is explained.
Where Builderz fits
On our builds, account layouts, permissions, custody and upgrade authority are designed up front. Before mainnet we rehearse deployment and document how your team monitors the release and responds when something goes wrong. Builderz wrote the pump.science programs that Pashov Audit Group reviewed in December 2024 and Code4rena audited in January 2025.
If you inherited a program, our pre-audit review ($3,000 to $6,500) includes an authority, multisig and upgrade-path map with the gaps marked. For a blocked upgrade or an inherited program that is failing, the Solana program rescue track costs $500 to $1,500 over 1 to 3 days. Both are described on our Solana development services page. If you are still choosing who builds it, start with how to choose a Solana development company.
Send us the program ID and what you were handed.
FAQ
How do I check who holds a Solana program's upgrade authority?
Run solana program show <PROGRAM_ID> and read the Authority line. Block explorers also show it for upgradeable programs.
Should I make my Solana program immutable?
Only if you are sure you will never need to fix it in place. Setting the upgrade authority to none cannot be reversed.
Does the program keypair matter after deployment?
Not for upgrades. Once the program is deployed, the upgrade authority controls the code. The keypair matters for any program that is not deployed on mainnet yet, because its holder can deploy to that address.
What should the agency hand over besides the code?
The repository with its history, CI secrets, RPC and indexer accounts, alert routing, runbooks, and every audit report with its fix status, each in an account your company owns.

