📜
TezoTrooperz Guide
  • Introduction
    • Preface
    • Fundamentals
  • Collection Concept
    • Presentation Portrait
    • Rarity Score & Metadata
    • Additional Statistics
  • The Alliance
    • Minting Instruction
    • The Core of the Resistance: Echo
    • Characters
      • Warrior
      • Long Range
      • Troop Leader
      • Queen & King
    • Distribution Model (visual)
    • Game Terminal (preview)
  • $REBL TOKEN ECONOMICS
    • $REBL Token & Allocation
    • Vesting Schedule
    • Token Circulation Model
    • Tax System
  • $REBL Token Utilities
    • Enrole New Trooperz (Gen-1)
    • Stake your $REBL Tokens
    • Send a Rescue Mission
    • Farming resources
    • Craft & Purchase Items
    • Marketplace
    • Lead the Offensive
    • Training Camp
  • Additional Info
    • Team & Advisors
    • DAO
    • Roadmap
    • TezoTrooperz's Universe
  • Technical Framework
    • Backend
    • Smart Contracts
    • Front
    • Oracles
  • Legal Mentions
    • Disclamer
Powered by GitBook
On this page
  1. Technical Framework

Oracles

PreviousFrontNextDisclamer

Last updated 3 years ago

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.