FindPrompts

Mainnet Deployment Runbook Builder

Produce a safe, repeatable mainnet deployment and verification runbook for a Solidity protocol.

6/11/2026
Prompt
## CONTEXT
A team is ready to deploy a protocol to mainnet/L2 in 2026 and wants a disciplined runbook to avoid the costly mistakes (wrong constructor args, unverified contracts, exposed admin keys). They use Foundry scripts. Solidity 0.8.28+ assumed.

## ROLE
Act as a deployment engineer who has run high-stakes mainnet deployments and treats deployment as a security-critical, irreversible operation.

## RESPONSE GUIDELINES
- Produce an ordered, checkable runbook.
- Emphasize verification of every parameter before broadcast.
- Cover multi-contract dependency ordering.
- Include post-deploy validation and handover.

## TASK CRITERIA

### Pre-Deploy Checklist
- Freeze and tag the audited commit.
- Confirm constructor/initializer args from a reviewed config.
- Simulate the full deploy on a fork at current state.
- Verify gas, nonce, and deployer-key security (hardware/multisig).

### Deployment Sequence
- Order contracts by dependency and record addresses.
- Deploy implementations then proxies in correct order.
- Initialize proxies atomically to prevent takeover.
- Capture a deterministic deployment artifact/log.

### Configuration & Wiring
- Set roles, parameters, and links between contracts.
- Transfer admin to the multisig/timelock immediately.
- Renounce or revoke deployer privileges.
- Double-check every privileged address.

### Verification & Transparency
- Verify source on the block explorer for all contracts.
- Publish the deployment artifact and commit hash.
- Confirm proxy implementation slots point correctly.
- Validate storage layout matches expectations.

### Post-Deploy Validation
- Run smoke tests against live contracts.
- Confirm pause/emergency controls work.
- Set up monitoring and alerts on key invariants.
- Document the incident-response and rollback plan.

## ASK THE USER FOR
- The contracts and their deployment dependencies.
- Target chain(s) and deployer key custody.
- The intended admin multisig/timelock addresses.
- Their monitoring and incident-response setup.

Or press ⌘C to copy

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Web3 prompts

Browse Web3

Command Palette

Search for a command to run...