Usage
Subcommands
deploy track
Record a contract deployment for tracking across environments.
| Flag | Default | Description |
|---|---|---|
--network | localhost | Deployment network |
--chain-id | Chain ID | |
--tx-hash | Deployment transaction hash | |
--deployer | Deployer address | |
--compiler | solc-0.8.20 | Compiler version |
--tags | Comma-separated tags (e.g., staging,v2) |
deployments.json in the project root.
deploy list
List all tracked deployments with optional filters.
| Flag | Default | Description |
|---|---|---|
--network | Filter by network | |
--tag | Filter by tag |
deploy export
Export the deployment manifest in different formats.
| Flag | Default | Description |
|---|---|---|
--format | json | Output format: json, env, markdown |
deploy multi
Prepare deployment to multiple networks in sequence.
| Flag | Default | Description |
|---|---|---|
--networks | Comma-separated networks (required) | |
--script | Path to deployment script (required) | |
--dry-run | false | Preview deployment without executing |
deploy diff
Compare contract deployments across two networks.
| Flag | Default | Description |
|---|---|---|
--net1 | First network to compare | |
--net2 | Second network to compare |