Mining lottery on HyperEVM
SURGE
25 nodes. One surge per round.
Get struck, split the pot.
Charge a cell with SURGE. When the window closes everyone shows the secret they committed to, one of the twenty five cells is struck, and everybody standing on it splits the whole round · minus the 5% the grid burns as heat.
No strategy. No mercy. And no house: there is no owner, no admin and no fee to anybody in the contract. The only addresses SURGE can leave the grid to are the players and the dead address.
WHERE THE STRIKE COMES FROM
cell = keccak256(XOR of every revealed secret, round, blockhash(revealEnd)) % 25 + 1
Every player contributes to it and no player decides it. The block hash is folded in last, and it belongs to a block nobody has seen while the reveals are happening.
That is what kills the classic attack on commit-reveal · be the last to reveal, compute both outcomes, withhold the one you dislike. Here a withholder cannot know what they would be choosing between, because the block their choice depends on has not been mined yet.
And there is always a way out: no reveals, or no strike while the block hash is still readable, and the round voids · every stake comes back, revealed or not. A grid that can swallow a stake is a grid nobody should charge.
·
- Round
- ·
- Pot on the grid
- ·
- Carried in
- ·
- Blocks left in this phase
- ·
- Burn per resolved round
- 5%