OBEX is an decentralized exchange (DEX) where people can trade their ERC20 tokens to ETH and their ETH to ERC20 tokens through orderbook system.
This repository contains two contracts.
- OBEX
- Orderbook.
With OBEX, you can trade your ETH or ERC20 tokens to ERC20 tokens or ETH as setting what token you want and how many tokens you want.
With Orderbook, you can find orders you've made or orders you want to find.
- run
npm install
to install all node dependencies - run
npx hardhat compile
to compile
Tests are located in the test directory and can be modified as required. To run them:
npx hardhat test
Please open all pull requests against the main
branch.
Distributed under the MIT License. See LICENSE
for more information.