Hydro Protocol is an open-source framework for building decentralized exchanges on Ethereum.
Hydro is designed for developers looking to build decentralized exchanges without having to deal with the complexity and expense of designing, deploying, and securing their own smart contracts.
Hydro 1.0 contains a single exchange contract called HybridExchange.sol
with the following attributes:
- No order collision
- No possibility of front-running
- Accurate market orders
- Ability to collect fees as a percentage of the traded assets
- Allows asymmetrical maker/taker fee structure, rebates, discounts
- Multiple settlement models:
- Wallet to wallet mode
- Contract-deposit mode (supports ETH)
- Highly optimized gas usage
npm install
To build json ABI files:
npm run compile
npm run coverage
Hydro is inspired by the 0x project.
In addition, projects such as IDEX and Paradex motivated the decision to focus on first order support for off-chain matching.
- Fork it (https://github.com/hydroprotocol/protocol/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
This project is licensed under the Apache-2.0 License - see the LICENSE.txt file for details