Oracles
Last updated
Last updated
What we call Blockchain Oracles are entities that enable Smart Contracts, which are stored on the Blockchain, to interact with external systems and sources. The main goal is to use data from the real world into the automated and secured Smart Contracts.
In TeoTrooperz's case, we will need to use two specific Oracles.
1) Oracle for $REBL rate
As explained in this mint Gen-1 section, you will be able to use $REBL tokens earned from the game to buy new NFTs within the game. In order to make the Gen-1 $REBL price fair and stable over the long term, we thought about using the $XTZ rate as a parameter of item prices.
To do so we will use the well-known Oracle: https://harbinger.live/
2) Oracle for randomness
As explained in the previous sections, a part of the in-game mechanics is defined by randomness. In order to generate this randomness into our Smart Contract, we are using an Oracle that provides a random number. This random number will then be used as an input of a function that will process and calculate the random events linked to the different in-game features.