seanmc9 / escrow-trade

Smart contract for on-chain Over-The-Counter (OTC) trading of native and ERC20 currencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Escrow Trade

A Solidity smart contract for 2 couterparties to trade any pair of native or ERC20 token between eachother trustlessly on any EVM-compatible chain.

To build, use this Foundry forge command:

$ forge build

If you don't have Foundry, you can get it by following the instructions here under the "Use Foundryup" section. Namely:

  1. Run curl -L https://foundry.paradigm.xyz | bash in your terminal.
  2. Run foundryup in your terminal.

About

Smart contract for on-chain Over-The-Counter (OTC) trading of native and ERC20 currencies

License:GNU Affero General Public License v3.0


Languages

Language:Solidity 100.0%