Skip to main content

Signing

CoW Protocol supports four distinct signing approaches for order authorization.

Signing Schemes

Shows users a structured representation of the order data in their wallet, making it clear what they are signing.

EthSign

Available for legacy wallet compatibility but provides minimal context to users about transaction details.

EIP-1271

For smart contract wallets like multi-signature systems. Enables verification through contract-based signature validation.

PreSign

Orders approved directly on-chain by calling setPreSignature on the settlement contract.

Signature Types

EcdsaSignature

Eip1271Signature

PreSignSignature

Core Functions

signOrder

encodeEip1271SignatureData

decodeEip1271SignatureData

Always use the correct domain with appropriate chain IDs and settlement contract addresses to prevent replay attacks across different networks.
Last modified on March 4, 2026