How It Works
1. Make a Prediction
Begin by making a prediction about the future. This could be anything from a sports event outcome to a personal goal. Write down your prediction in a clear and precise manner.
2. SHA-256 Hashing
Once your prediction is ready, we use SHA-256 hashing to convert your prediction into a unique, fixed-size string of characters. This hash is a one-way function, meaning it's nearly impossible to reverse-engineer the original prediction from the hash.
3. Signing and Smart Contract Submission
After generating the hash, it is signed digitally to ensure authenticity. The signed hash is then submitted to a blockchain-based smart contract for secure, tamper-proof storage. This ensures that the prediction, in its hashed form, is safely stored and cannot be altered.
4. Prediction Reveal
At the predetermined time or upon meeting certain conditions, anyone can reveal the original prediction. To do so, they need to submit the correct message. The smart contract compares this message's hash with the stored one. If they match, the original prediction is revealed, validating the accuracy and timing of the initial prediction.
5. Collect Bounty
Optionally you can add a bounty to your prediction. This bounty will be returned to whoever reveals the prediction. This provides both a skin in the game incentive and a way to reward the person who reveals the prediction.