Step 1: Bet Amount variable

The primary variable for the mining formula is the Bet Amount which is derived from the Chainlink Price Feed oracle; it provides the price in USD for each coin used for game play, e.g. BTC/USD or ETH/USD.

The price derived into USD is critical so that every game play mints tokens fairly, in a common USD value, regardless of what token is used. This is critical because betting 0.01 of BTC vs 0.10 of ETH have significantly different USD values and it’s important that users always receive the correct amount of WINRs based upon a common denomination. This guarantees fairness in the minting process for all who participate.

The calculation is derived as follows:

Number of Tokens * Exchange Rate = USD Bet Amount (using ChainLink Price Feed Oracle)

Example Conversions to generate the BET AMOUNT variable

  • 0.001 BTC (one gameplay) * 60000 (BTC price) = $60

  • 0.10 ETH (one gameplay) * 2000 (ETH price) = $200

  • 100 Matic (one gameplay) * .50 (Matic Price) = $50

Last updated