Twitter ETH Price Oracle

Updates an ETH price oracle from twitter posts! First steps towards real time decentralized data validated easily over tweets.

Twitter ETH Price Oracle

Created At

ETHAmsterdam

Winner of

trophy

🥇 Flux — Best Use

Project Description

Oracles need validators for their data. We decided to see if twitter posts could work as validators. So when a verified twitter account tweets the price of ethereum, we update our price oracle. We used the Flux protocol First Party Oracle (FPO) as our price oracle for ETH / USD. From there, we used make.com to send an HTTP POST request everytime a specified user tweets the price of ethereum. That HTTP post request is sent to a node.js express server we have running on Heroku which thens calls our FPO smart contract to update our oracle with the latest price from the tweet. We also have a front end in react that calls our FPO smart contract to read the latest price from our oracle and display it on a web page!

How it's Made

We used the Flux protocol First Party Oracle (FPO) as our price oracle for ETH / USD. From there, we used make.com to send an HTTP POST request everytime a specified user tweets the price of ethereum. That HTTP post request is sent to a node.js express server we have running on Heroku which thens calls our FPO smart contract to update our oracle with the latest price from the tweet. We also have a front end in react that calls our FPO smart contract to read the latest price from our oracle and display it on a web page!

background image mobile

Join the mailing list

Get the latest news and updates