@cowprotocol/sdk-config package provides chain configuration, contract addresses, and network utilities for all blockchains supported by CoW Protocol.
Installation
Supported Chains
SupportedChainId
Enum of all EVM chains where CoW Protocol is fully supported (you can sell tokens).AdditionalTargetChainId
Chains where you can bridge to, but cannot sell tokens from (not directly supported by CoW Protocol).EvmChains
All EVM chains (both fully supported and bridge targets).NonEvmChains
Non-EVM chains available for bridging.Chain Information
ChainInfo
Comprehensive chain metadata.Chain Constants
Contract Addresses
Settlement Contract
0x9008D19f58AAbD9eD0D60971565AA8510560ab41
Vault Relayer
0xC92E8bdf79f0507f65a392b0ab4667716BFE0110
Extensible Fallback Handler
0x2f55e8b20D0B9FEFA187AA7d00B6Cbe563605bF5
Composable CoW
0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74
ETH Flow Contracts
Special Addresses
Utility Functions
mapSupportedNetworks
Maps a value or function across all supported networks.mapAllNetworks
Maps a value across all networks (including bridge targets).mapAddressToSupportedNetworks
Maps a contract address to all supported networks.Chain Details
Individual chain configurations are exported:ChainInfo for that network.
Example: