Crypto Price Oracle
This project contains a price oracle API that updates an oracle contract on-chain with the price of Bitcoin and Ethereum using CoinGecko's public API. Any application contract can interact with this price oracle contract to pull the current price of Bitcoin and Ethereum. The price of both assets is updated every 5 seconds to ensure accurate information. Although this project only currently supports prices of Bitcoin and Ethereum, it can be expanded to include any crypto asset supported by the CoinGecko API.