Hack Money - AEPM

Source Code

Description

Our team has created a react application that is open to anyone and everyone with an ethereum blockchain wallet. The front end is a simple button that launches a smart contract function that does the following: 1. Checks if the person has played in the last 24 hours 2. Uses Chainlink to compare prices of the ERC-20 token DAI across various exchanges (Compound, AAVE, Uniswap V1, Uniswap V2) 3. If the spread is large enough then the application will use an AAVE flash loan to withdraw capital and buy DAI on the cheaper exchange and sell it on the other 4. The application will return the flash loan to AAVE and let the user gain the spread across the two exchanges gained by the smart contract function

How It's Made

Our team has created a react application that is open to anyone and everyone with an ethereum blockchain wallet. The front end is a simple button that launches a smart contract function that does the following: 1. Checks if the person has played in the last 24 hours 2. Uses Chainlink to compare prices of the ERC-20 token DAI across various exchanges (Compound, AAVE, Uniswap V1, Uniswap V2) 3. If the spread is large enough then the application will use an AAVE flash loan to withdraw capital and buy DAI on the cheaper exchange and sell it on the other 4. The application will return the flash loan to AAVE and let the user gain the spread across the two exchanges gained by the smart contract function The application was built with React JS, Truffle Box from AAVE, Web3.js and Solidity.

Team

Mehran Hydary Alex Sherbuck
← click here to see all projects