Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

Verify draw #1

Draw: #1 · Domain: gno.land/r/g1k6cl2huxpps9fxls8tqyxknvl7fgq9hua3f2yt/fairdrop#1 · Chain: onyx-1

Seed:

65be7f45ab44a8f7f23f90194c64d8b793f90218688a8b42e926d0d6a61e546e

The seed is folded from these inputs, in this exact order (ascending entrant address, revealed tickets only). Each leaf is seal:secret.

# entrant leaf
1 g1k6cl2huxpps9fxls8tqyxknvl7fgq9hua3f2yt 457ea51a1c175793b5767cdca3eabb2f540ed53154a8a23e9df6491788008887:b20110697f41e5f135644ad6fabb8915d31c652d00dcfdcfbdcfa8749416dd67
2 g1stakw7kwl9q7ks78h3ve90urkh07eqzagmcr0p 70c1b705bc23b5a6eadabfdbbbbc1f5a0146dc326873d09a971462b56845dd76:c3afa8f2623023838209d5211b5e1ea4da1a1575f78d501528aba378e5c160e2
3 g1x2khp0na62096jkyjjps7zzvezklm6jte2kahu e5f26e741442ce250439660af0dc5a734aaf9874dae61722197b25d3b5fedfd1:ae38354e1b18b3a70f466b01a6f0b9499a29e33c6b6bfc62bb4e9eeb3e2df5bd

Recompute it yourself

The realm hashes this string (one trailing | per leaf is included):

fairdrop/seed/v1|gno.land/r/g1k6cl2huxpps9fxls8tqyxknvl7fgq9hua3f2yt/fairdrop#1|onyx-1|1|457ea51a1c175793b5767cdca3eabb2f540ed53154a8a23e9df6491788008887:b20110697f41e5f135644ad6fabb8915d31c652d00dcfdcfbdcfa8749416dd67|70c1b705bc23b5a6eadabfdbbbbc1f5a0146dc326873d09a971462b56845dd76:c3afa8f2623023838209d5211b5e1ea4da1a1575f78d501528aba378e5c160e2|e5f26e741442ce250439660af0dc5a734aaf9874dae61722197b25d3b5fedfd1:ae38354e1b18b3a70f466b01a6f0b9499a29e33c6b6bfc62bb4e9eeb3e2df5bd|
1import hashlib
2leaves = ["457ea51a1c175793b5767cdca3eabb2f540ed53154a8a23e9df6491788008887:b20110697f41e5f135644ad6fabb8915d31c652d00dcfdcfbdcfa8749416dd67", "70c1b705bc23b5a6eadabfdbbbbc1f5a0146dc326873d09a971462b56845dd76:c3afa8f2623023838209d5211b5e1ea4da1a1575f78d501528aba378e5c160e2", "e5f26e741442ce250439660af0dc5a734aaf9874dae61722197b25d3b5fedfd1:ae38354e1b18b3a70f466b01a6f0b9499a29e33c6b6bfc62bb4e9eeb3e2df5bd"]
3payload = "fairdrop/seed/v1|gno.land/r/g1k6cl2huxpps9fxls8tqyxknvl7fgq9hua3f2yt/fairdrop#1|onyx-1|1|" + "".join(l + "|" for l in leaves)
4print(hashlib.sha256(payload.encode()).hexdigest())
5# compare with the seed above

The winners are then taken from that seed by the draw in gno.land/p/fairdrop/fairness: a SHA-256 counter-mode stream walks the revealed roster in the same order, drawing weighted tickets without replacement until 3 winner(s) are chosen. scripts/verify.py in the project repository reproduces both steps.