# Deployment Scripts Consolidation **Date**: 2025-11-18 **Status**: In Progress ## Unified Scripts ### Contract Deployment - **`deploy-contracts-unified.sh`** - Unified contract deployment script - Supports both `--mode ordered` and `--mode parallel` - Replaces: `deploy-all-contracts.sh`, `deploy-contracts-parallel.sh`, `deploy-contracts-ordered.sh` - Usage: ```bash # Ordered deployment (respects dependencies) ./deploy-contracts-unified.sh --mode ordered # Parallel deployment (where dependencies allow) ./deploy-contracts-unified.sh --mode parallel # Dry run ./deploy-contracts-unified.sh --dry-run ``` ### WETH Deployment - **`deploy-weth-unified.sh`** - Unified WETH deployment script - Supports multiple methods: `create`, `create2`, `genesis` - Supports token selection: `weth9`, `weth10`, `both` - Optional CCIP bridge deployment - Replaces: Multiple WETH deployment scripts ## Legacy Scripts (Still Available) The following scripts are still available but may be consolidated in the future: - `deploy-all-contracts.sh` - Use `deploy-contracts-unified.sh` instead - `deploy-contracts-parallel.sh` - Use `deploy-contracts-unified.sh --mode parallel` instead - `deploy-contracts-ordered.sh` - Use `deploy-contracts-unified.sh --mode ordered` instead - `deploy-weth.sh` - Use `deploy-weth-unified.sh` instead - `deploy-weth-create.sh` - Use `deploy-weth-unified.sh --method create` instead - `deploy-weth-create2.sh` - Use `deploy-weth-unified.sh --method create2` instead ## Migration Guide ### Old Way ```bash ./deploy-all-contracts.sh ./deploy-weth.sh ``` ### New Way ```bash ./deploy-contracts-unified.sh --mode ordered ./deploy-weth-unified.sh --method create --token both ``` ## Future Consolidation Planned consolidations: 1. Infrastructure deployment scripts 2. Verification scripts 3. Status checking scripts 4. Monitoring scripts