Skip to content

Oracle contract containing the price of Bitcoin and Ethereum updated each block

Notifications You must be signed in to change notification settings

deanamiel/crypto-price-oracle

Repository files navigation

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.

About

Oracle contract containing the price of Bitcoin and Ethereum updated each block

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published