Skip to main content
The @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).
Example:

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

Example:

Contract Addresses

Settlement Contract

CoW Protocol settlement contract addresses for each supported chain. Default address: 0x9008D19f58AAbD9eD0D60971565AA8510560ab41

Vault Relayer

Vault relayer contract addresses. Default address: 0xC92E8bdf79f0507f65a392b0ab4667716BFE0110

Extensible Fallback Handler

Default address: 0x2f55e8b20D0B9FEFA187AA7d00B6Cbe563605bF5

Composable CoW

Default address: 0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74

ETH Flow Contracts

ETH flow contract addresses for production and barn (staging) environments. Example:

Special Addresses

Utility Functions

mapSupportedNetworks

Maps a value or function across all supported networks.
Example:

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:
Each export provides complete ChainInfo for that network. Example:

Types