/weth-converter

A work in progress Seaport contract offerer that offers ETH in exchange for an equivalent amount of WETH, or vice versa

Primary LanguageSolidityMIT LicenseMIT

WETH Converter

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.

Install

To install dependencies and compile contracts:

git clone --recurse-submodules https://github.com/ProjectOpenSea/weth-converter && cd weth-converter && forge build

Tests

To run tests:

forge test

License

MIT Copyright 2023 Ozone Networks, Inc.