Reward Hash
Last updated
Last updated
To win 1 BTC, 100 BNB with total prize pool worth $1M USD, start by !
Every time you boost your XP using the MaigaXBT Bot, youβre also triggering a provably fair on-chain reward mechanism: the Reward Hash.
Itβs a native way to reward users onchain activities, using the raw mechanics of blockchain. No off-chain RNG, no centralized logic, just verifiable transaction hashes and pure luck.
In the Maigaβs ongoing Pre-TGE Boost Campaign, the Reward Hash is used to determine the lucky boosters with cash prizes up to 1BTC!
To generate these hashes, Maiga (via ThirdFi) developed a verifiably fair method called "Hash within Hash", which uses Ethereum's keccak256 hashing algorithm to combine several on-chain variables:
tokenId β Unique ID from the boost
msg.sender β Your wallet address
block.chainid β The current blockchain (e.g. BNB = 56)
boostCount[tokenId] β Number of times the NFT has been boosted
block.timestamp β Timestamp of block confirmation
blockhash(block.number) β The actual block hash
These inputs ensure every Reward Hash is:
Unique (boost count, sender, tokenId)
Unpredictable (block timestamp and hash)
Immutable once confirmed on-chain
This makes any attempt to game the system practically impossible unless you can control the network (e.g. a 51% attack).
Unlike traditional raffles that rely on opaque backend logic, MAIGAβs Reward Hash system is:
Completely on-chain where hashes are generated during actual blockchain transactions
Immutable, meaning once a transaction is confirmed, the hash cannot be altered.
Self-verifiable - anyone can view the reward hash using blockchain explorers.
Each reward hash is based on a mix of variables that cannot be predicted before your transaction is mined.
Block.timestamp
: Exact time the block is mined
blockhash(block.number)
: Hash of the current block
These inputs are only known after the block is confirmed, making it impossible for users or developers to force a specific outcome. The only way to generate one is by executing real transactions and leaving it (your luck and trust) to the chain.
Letβs further break down how it exactly works:
A Reward Hash is a 32-byte hexadecimal string (like transaction ID) generated when a user boosts XP via the MaigaXBT Bot.
Each /boostxp action signs and submits an on-chain transaction through your MAIGA MPC wallet. This transaction hash will be used to create a reward hash and the final 6 alphanumerics of that hash are evaluated for reward eligibility, like this:
0xddaa624d505222c1da48831db68f8440ce478d74728a6f8255b36669316ae361
Last characters = ...361. If the ruleset rewards hash like 123, this transaction isnβt a winner. But if it ends in 123, 456, 789, abc, def, you could win up to $100 and more.
This suffix is called your Reward Hash.
Reward Hash Lucky Draw Ending
BNB Prize
USD Value ($650/BNB)
00, 11, 22, 33, 44, 55, 66, 77, 88, 99, aa, bb, cc, dd, ee, ff
0.015 BNB
$10
123, 456, 789, abc, def
0.15 BNB
$100
1234, 6789, abcd
1.5 BNB
$1,000
12345, abcde
15 BNB
$10,000
123456
1 BTC
$100,000 +
The more you boost, the higher your chances of hitting a winning reward hash.
Alice boosted XP on the MaigaXBT bot and sends a transaction on-chain on opBNB mainnet. In 6 transactions, Alice managed to get an actual on-chain reward hash of 98EEAA (see screenshot) and won a Reward Hash lucky draw prize of 0.015 BNB (~$10).