freeTrader
A smart contract that trade according to user defined price and real time price
Screenshots



Problem Statement
This prj include both smart contract piece and a frontendIt can take user defined price as inputUser can interact with the contract and set a new priceIt needs to read latest data from an oracle every 15 minutesIf the real time price above is less than the user defined price, call uniswap contract to buy ethereum with usdc
Solution
This prj include both smart contract piece and a frontend The smart contract is written in solidity. The frontend is written using NextJS framework.Key Elements User-defined price: A function that allows the user to set a price. Oracle integration: Use a Chainlink oracle (or another service like Chronicle) to fetch real-time price data. Uniswap interaction: Utilize Uniswap’s contract to swap USDC for ETH when a condition is met.
Hackathon
ETHGlobal San Francisco
2024