Verifikimi publik i shortit
Fito një weekend në Riviera Shqiptare
Shorti për këtë konkurs ende nuk është angazhuar.
Pas mbylljes së regjistrimeve, këtu do të publikohet angazhimi kriptografik.
Si ta verifikoni vetë
entryHash = SHA256("giveaway-entry/v1\n" + campaignId + "\n" + reference)for every eligible entry.- Snapshot =
giveaway-snapshot/v1,campaign:<id>,count:<n>, then the entry hashes sorted ascending, one per line (LF, trailing newline). Its SHA-256 must equal the published commitment. - The drand round was fixed at commitment time and is produced later. Check its BLS signature with the network's public key (e.g.
drand-clientor api.drand.sh); randomness = SHA256(signature). - For pick k = 0,1,… and counter c = 0,1,…:
x = SHA256("giveaway-draw/v1\n" + campaignId + "\n" + snapshotHash + "\n" + randomness + "\n" + k + "\n" + c)as a 256-bit integer. Accept ifx < 2²⁵⁶ − (2²⁵⁶ mod m)(m = entries remaining), else increment c. Index = x mod m; remove that entry and continue. - The first picks are winners, the rest are alternates in order.