Hylian is an ICX/USD price oracle on-chain built on ICON, operated by multiple entities, mostly P-Rep candidates for now as they considered as trusted.
The goal of this initative is plural :
Provide a ICX/USD price for SCORE developers, as it is not possible to do external API calls from a SCORE.
Explore how oracles may work running on ICON
Cooperate with P-Reps candidates (and hopefully build together more awesome things in the future)
This thread may serve for technical support, discussion around consensus for the price oracle, and any suggestion you may have around this initiative.
Here are some references to this project (in progress) :
Feel free to join the discussion if you have any question, or if youâre interested in hosting a price feed SCORE in order to help making the oracle more secure.
Thanks @Spl3en awesome work! Rhizome has deployed a second Daedric SCORE on TestNet and hope that others contribute to make the Price Oracle a little more decentralised. Also looking forward to âbuilding together more awesome things in the futureâ
Since the last week, the price oracle (Hylian) is getting more Daedrics: already 4 P-Reps candidates have successfully deployed their price feed SCORE on the Yeouido TestNet.
Weâre already working on refining the bot aspect of Daedric, notably thanks to the work from Rhizome with Marvin (WIP) : https://github.com/rhizomeicx/marvin/
Daedric uses bash scripts in order to be updated, which isnât suitable for all platforms - Marvin solves that, as it is a .net core (cross-platform) implementation of the price feed bot. Itâs also configurable and more flexible than the current implementation.
If youâre willing to try Daedric on the TestNet, please do it before that date. Please PM me if you want assistance for doing so.
We will probably move on MainNet after that date. So far, no bug has been found during the deployment of Hylian and Daedric on TestNet.
Read on telegram, you are looking for developers. Any specific domain knowledge you are looking for?
Been software engineer/designer for 15 years, mainly C/C++, last 4 years also python. Never in blockchain domain though, so productivity will be low in beginning. Been thinking about contributing to icon somehow but was not sure how.
Hey @ehenderichs, thanks for reaching out.
If youâre looking for some experience in deploying a SCORE to the ICON network, youâre in the right place. No problem about the low productivity in the beginning, weâre all learning.
Weâre looking for people able to deploy and operate Daedric to ICON and eventually extend its features.
Hylian and Daedric version have been updated to 1.1.0.
Thereâs a new feature from Hylian, registred feeds now support metadata (in order to inspect more easily who own the Daedric instance).
The deployment to Mainnet will take place this week - It has been pushed for revision to the ICON Team.
Daedric requires to run a bot that will update your SCORE periodically.
That bot (such as Marvin) only does few HTTP requests, once every hour - it doesnât need a lot of CPU resources, it can run on any device. Consequently, the cost for maintaining a Daedric SCORE is very low.
For the newcomers, Hylian and Daedric are an ICX/USD price oracle running on ICON.
Weâre currently looking for volunteers to help running this oracle to make it more secure.
Requirements and costs for running it are very low :
you need to know how to deploy a SCORE, and how to run a bot.
Daedric needs to be updated regularly, so you may pay a transaction fee every hour - it currently costs 0.001378 ICX to call the âpostâ method (ICON Tracker) that updates the price, so it would cost you 12 ICX if you run it every hour for an entire year.
Here is some ELI5 explanation about how Hylian, Daedric and Marvin work together.
Letâs say any ICONist is wondering what the ICX/USD price currently is.
That ICONist may be any user or a SCORE developer willing to use the ICX/USD price in his application.
Hylian keeps a list of whitelisted Daedric SCOREs in its database. Each of these Daedric are owned by a separate, independant entity. Letâs say Alice, Bob, Charlie and Eve run their own Daedric.
Hylian ask the same question for each Daedric : In your opinion, what is the current ICX/USD price ?
Each Daedric answers with what they think is the correct ICX/USD price - they may return different values. Letâs say Eve is even trying to cheat and say the ICX/USD price is $1000 EOY.
Once all Daedric have answered, Hylian takes all these values and compute the median value of the values received. By doing so, the price given by Eve doesnât influence the result a lot.
That median value is finally returned to the user as a result and considered as a safe price for ICX/USD.
This is how Daedric and Hylian work together.
Now, each Daedricalsoneeds to know the ICX/USD price.
Thatâs what Marvin does : itâs a bot that regularly reads the price from multiple sources (coinmarketcap, coingecko, velic, binance, âŚ) and figure out the price of ICX/USD that way. Once it has the ICX price, it pushes it to Daedric. By default, Marvin refreshes the price for Daedric every hour.
It is possible to control the price if more than 50% participants agree to cheat at the same time in order to change drastically the median value, but it gets harder with a lot of participants.
Hi All,
Marvin has been successfully updated and tested on Mainnet. If you are running or planning to use Marvin please pull down the latest from: https://github.com/rhizomeicx/marvin.
Marvin is more configurable and can be run on windows or linux. Im in the process of looking at moving our Marvin instance into AWS severless Lamda function which will make the server cosr $0.
Thatâs great I normally prefer running on a server but I like running stuff on my pc since I never close it. Can be nice addition to stuff I run on that one.