WETH Converter is a Seaport app that offers ETH in exchange for an equal amount of WETH, or vice versa. It relies on the contract order pattern that was added as part of Seaport v1.2.
The contract has been deployed to 0x000000000aDac1dE790E7C635887cFA7C40c161d
.
To install dependencies and compile contracts:
git clone --recurse-submodules https://github.com/ProjectOpenSea/weth-converter && cd weth-converter && forge build
To run tests:
forge test
MIT Copyright 2023 Ozone Networks, Inc.