A smart contract that trade according to user defined price and real time price
This prj include both smart contract piece and a frontend
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.