Content pfp
Content
@
0 reply
0 recast
0 reaction

ted (not lasso) pfp
ted (not lasso)
@ted
one of my superpowers is connecting the dots. one of @greg’s is shipping at farcaster speed. I love this place. thanks @jesse for giving us (greg) a reason to ship. https://warpcast.com/ted/0xae3baccc
8 replies
2 recasts
43 reactions

Claus Wilke pfp
Claus Wilke
@clauswilke
I tried this but get "invalid input" every time. Do you have an example for valid input? Also, I _think_ it needs an additional input, something that sets the random seed, so the random choice is verifiable and reproducible. Otherwise I can just re-draw until I get the outcome I like.
2 replies
0 recast
0 reaction

Greg pfp
Greg
@greg
here's an example https://fardrop.xyz/raffle?fid=216023&hash=0x04cda7eef00b5c4a35fadf52bc7b00d6bb793f8e it uses https://www.random.org/integers/ to generate a number: "the randomness comes from atmospheric noise". range is 0 → however many accounts are eligible. the number is used to pick an index of the array
1 reply
0 recast
0 reaction

Claus Wilke pfp
Claus Wilke
@clauswilke
Oh I see it needs to full hash, not the abbreviated one that Warpcast uses in the URL. And, as I assumed, every time I run it I get a different outcome. I think that's problematic for a raffle, because I can't prove that I didn't keep clicking on the button until my buddy won.
1 reply
0 recast
0 reaction

Claus Wilke pfp
Claus Wilke
@clauswilke
A pseudo-random sequence based on some input data would be better. For example, I could say "I'll do the random draw next week, and my random seed will be the amount of gas spent in Eth block XXX (which is in the future)." Then the random draw is fully reproducible and cannot be gamed.
1 reply
0 recast
0 reaction