Skip to content

Start from a CoW Protocol order UID, recover the order data from the API, and then recompute the order UID from the data.

Notifications You must be signed in to change notification settings

cowprotocol/order-uid-recomputation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoW Protocol order hash computation

A simple script that, given an order UID, recovers all order data from the API and recomputes the order UID from this data.

It only supports the prod environment and the Ethereum mainnet chain.

Requirements

Usage

Validate the math to compute an order UID with:

./run.sh [order_uid]

If the UID is not specified, it will use a hardcoded UID.

About

Start from a CoW Protocol order UID, recover the order data from the API, and then recompute the order UID from the data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published