Documentation Index
Fetch the complete documentation index at: https://cowswap-mintlify-seo-audit-1777280932.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Deploying
Core Deployment Methods
ComposableCoW offers two primary approaches:- Script-Based Deployment: Offers flexibility for testing but won’t deploy to official addresses
- Deterministic CREATE2 Deployment: Ensures identical addresses across all networks for production use
Essential Setup
You’ll need to configure environment variables including:- RPC endpoints
- Private keys
- Settlement contract address (varies by network)
Deployment Options
Full Production Stack
Deploys multiple components in one transaction:- ExtensibleFallbackHandler
- ComposableCoW
- Five order types (TWAP, GoodAfterTime, PerpetualStableSwap, TradeAboveThreshold, StopLoss)
- Utilities
Individual Contract Deployment
Separate scripts for ComposableCoW alone or order types specifically.Deterministic CREATE2 Benefits
- Consistent addresses across all networks
- Simplified integration and documentation
- Predictable contract locations
- Enhanced user trust
Local Testing
For integration testing, Anvil provides a local environment with the full CoW Protocol stack deployment capability, including a test Safe contract.Post-Deployment Tasks
- Verify deployments using
cast code - Update the
networks.jsonregistry - Leverage the
broadcast/directory artifacts containing deployment metadata and ABIs