Deployment Plan
`EopUaCV2svxj9j4hd7KjbrWfdjkspmm2BCBe7jGpKzKZ`
Deployment Plan
Program ID
EopUaCV2svxj9j4hd7KjbrWfdjkspmm2BCBe7jGpKzKZ
Upgrade Authority Strategy
| Option | Description | Recommendation |
|---|---|---|
| A | Single keypair authority | Simple but centralized risk |
| B | Multisig (e.g., Squads or custom) | Better for prod imo |
| C | Revoke authority (immutable program) | Maximum security if no upgrades planned |
What I suggest: Option B (multisig) for production. Use a 3-of-5 or higher threshold multisig with team members.
Deployment Steps
Devnet
anchor buildanchor deploy --provider.cluster devnet --program-id EopUaCV2svxj9j4hd7KjbrWfdjkspmm2BCBe7jGpKzKZ- Set upgrade authority if needed:
solana program set-upgrade-authority ...
Mainnet-Beta
- Verify program with
anchor idl write-bufferandanchor deploydry-run anchor build --verifiable(optional for reproducibility)- Deploy buffer:
bash
solana program deploy --buffer BUFFER_KEY target/deploy/agenc_coordination.so- Write buffer to program with upgrade authority
- Or use
anchor deploy --provider.cluster mainnet ... - Set multisig upgrade authority:
bash
solana program set-upgrade-authority EopUaCV2svxj9j4hd7KjbrWfdjkspmm2BCBe7jGpKzKZ \
--new-upgrade-authority MULTISIG_PUBKEY- (Optional) Revoke authority for immutability:
bash
solana program set-upgrade-authority EopUaCV2svxj9j4hd7KjbrWfdjkspmm2BCBe7jGpKzKZ --finalVerification Steps
solana program show EopUaCV2svxj9j4hd7KjbrWfdjkspmm2BCBe7jGpKzKZβ confirm owner and upgrade authority- Run integration tests on cluster:
anchor test --skip-local-validator - Query protocol account to confirm initialization
- Verify on-chain IDL matches local