Deployment checks#
Do the deployment checks before you use an example with real funds. A source checkout does not identify the active program, configuration, or upgrade authority. Use values supplied by the release operator and compare them with chain evidence.
Record the release identity#
| Item | Evidence to keep |
|---|---|
| Source | Immutable commit and dependency lockfiles |
| Program | Program address, deployed binary hash, and deployment slot |
| Network | RPC endpoint identity, cluster, and genesis hash |
| Configuration | Config PDA, owner, decoded values, and observation slot |
| Authorities | Config authority, pending changes, pauser, and program upgrade authority |
| Settlement asset | Mint address, decimals, token program, and supported account restrictions |
| Clients | Application build, SDK versions, schema revision, and wallet wire capability |
| Source profiles | Profile admission, trust-root identity, and genuine-provider evidence |
Do not publish RPC credentials, private keys, or runner pairing tokens in the evidence record. If a required value is unknown, record it as unknown and stop the dependent action.
Examine the program and configuration#
Set RPC_URL and PROGRAM_ID to values from the reviewed deployment record.
These commands read chain data:
solana --url "$RPC_URL" genesis-hash
solana --url "$RPC_URL" program show "$PROGRAM_ID"
bun --filter @seesaw/cli build
node packages/cli/dist/index.js --help
Use the CLI's displayed global options to select that RPC and program.
Run config get to examine the config PDA and decoded values.
The command checks the expected account layout before it returns the configuration.
Compare its program and mint with the market and wallet transaction preview.
The config command source (unavailable reference) defines the displayed fields. Some authority details require the complete config decoder or deployment tooling. Do not interpret an omitted field as a disabled authority.
Understand authority boundaries#
| Authority | Necessary checks |
|---|---|
| Trader | The signature authorizes the bounded action and intended accounts. |
| Creator | Creation and permitted changes follow the immutable market contract. |
| Permissionless caller | The instruction still requires state, time, account, and evidence conditions. |
| Pauser | The configured guardian can use only the implemented pause powers. |
| Config authority | Proposed and applied configuration changes follow their guards and delays. |
| Source-profile authority | Admission changes do not make invalid evidence valid. |
| Upgrade authority | The deployed program can change under the loader's authority rules. |
Read the account reference and instruction reference for exact powers. The executable program controls these powers when narrative text differs.
Distinguish evidence levels#
| Evidence | What it establishes |
|---|---|
| Compiled example | The compiler accepted the checked source and dependencies. |
| Offline fixture | The asserted local behavior passed with controlled inputs. |
| Local-chain run | The recorded transactions and state checks passed on the test stack. |
| Device run | The recorded wallet and application procedure passed on that device build. |
| Genuine-provider run | The named source procedure passed with its real provider prerequisites. |
| Staging rehearsal | The tested release procedure passed against the recorded staging stack. |
| Production signoff | The release owner accepted the complete required deployment evidence. |
No row automatically establishes the next row. Keep unresolved checks visible in the release record. Use the production readiness requirements (unavailable reference) for signoff.
Before an upgrade#
- Read the release compatibility and migration notes.
- Make sure that the program, accounts, schemas, SDK, and wallet are compatible.
- Rehearse database migrations and recovery on staging.
- Keep pending transaction journals and resumable operations.
- Record the expected program hash and authorities.
- Complete the required release checks before you change the deployment.
This procedure defines verification. It does not execute or authorize an upgrade.