How are the block hash prize giveaway rules implemented and executed?

Published on Jan 16, 2023Updated on Nov 7, 20242 min read224

How are block hash prize giveaway rules implemented and executed?

The last 8 digits of the hash of the first block of OKC at a certain point in time are compared against the last 8 digits of the addresses of all participants. The closest address(es) is/are selected for the giveaway in accordance with the following rules:

  • The last 8 digits of the block hash of the first OKC chain block at a specified time after the activity are captured.

  • The last 8 digits of all participating wallet addresses are captured (if there are insufficient digits, a 0 is added to the end).

  • The last 8 digits of the wallet address closest (in absolute numerical value) to the last 8 digits of the block hash is selected as the winner.

  • If the number of wallet addresses selected for giveaway is greater than the number of prizes, wallet addresses whose 8 digits are of a higher absolute numerical value are given priority (the 9th digit will also be taken into account if the 8 digits of any wallets are of the same value).

Example:

  • Suppose the block hash value captured for the giveaway is: 047363EC533E12EA88C0CB21636E2BAAB45AA9A6F3A12F77C7020475C119E6A6

  • Filter out the letters in the hash value and take the last 8 digits as the winning sequence for the activity: 47511966

  • The last eight digits of the addresses of four users are

    • A: 47511960

    • B: 47511972

    • C: 47511960

    • D: 32514021

If the quota is 3, ABC will be selected. If the quota is 2, AC will be selected. If the quota is 1, compare the 9th digit after the addresses of two AC users. The one with the highest number wins.