๐ฎPrediction mechanism
๐ Generated Predictions
Not based on analysis or history A simple formula that can be replicated by anyone with the following code :
// javascript
function generate_rnd_close(last_close, last_open) {
// Generate 6 random float between 0 and 1
const { float_0, float_1, float_2, float_3, float_4, float_5 } = get_rnd(6)
// The price can go up or down, and inscribe tendancy
let next_isup_min_val = 0.5 // standard value
if (last_close >= last_open) { // last candle is green
next_isup_min_val -= ( float_0 * 0.2 ) // 50 to 70 % of chance to go up
} else { // last candle is red
next_isup_min_val += ( float_0 * 0.2 ) // 30 to 50 % of chance to go up
}
let direction = "down" // can be : up, down
if (float_1 >= next_isup_min_val) { direction = "up" }
// Generate the next close price based on the last close price
// The price look to be organic and not random
let mouv_perc = 0 // the percentage of the movement
if (float_2 <= 0.1) { mouv_perc += float_2 / 10 }
if (float_3 <= 0.1) { mouv_perc += float_3 / 10 }
if (float_4 <= 0.1) { mouv_perc += float_4 / 10 }
if (float_5 <= 0.1) { mouv_perc += float_5 / 10 }
if (mouv_perc == 0) { mouv_perc = float_2 / 20 } // minimum mouv_perc
let mouv = mouv_perc * last_close
let result = null
if (direction == "down") {
result = last_close - mouv
} else {
result = last_close + mouv
}
result = Math.round(result)
return result
}๐ Lightweight predictions
The generated predictions are compressed using a method we have specially created. The goal is to maintain a reasonable file size on the blockchain without any loss of information in order to minimize transaction fees. A compressed 30-day prediction will look like this:
๐ Randomness and Uniqueness
It's important to note that the outcomes are inherently random. The unpredictability is an integral part of the game's excitement, making every prediction unique and adding an element of surprise to the process.
This randomness ensures that each participant has an equal chance of winning the jackpot.
๐ Decentralization and Security
By using blockchain, we ensure that the prediction NFTs are decentralized and secure. Each NFT is recorded on the blockchain, making it tamper-proof and verifiable by anyone.
The immutability of the blockchain ensures that once a prediction NFT is created, its data remains unchanged, guaranteeing the integrity of the prediction.
โ๏ธ Smart Contracts for Fairness (coming soon)
Smart contracts play a crucial role in our prediction mechanism. These self-executing contracts automatically execute the outcome of the game based on the actual Bitcoin price movement.
The winner, whose prediction NFT is closest to reality, is automatically rewarded with the pool, eliminating any potential bias or manipulation.
๐ Provable Ownership and Rarity
The blockchain provides provable ownership of prediction NFTs, certifying that each NFT is unique and limited in supply.
This rarity adds value to the prediction NFTs, making them valuable collectibles for participants and collectors alike.
Last updated
