Sam pfp
Sam
@sammdec.eth
Posting here just in case anyone knows of good in chain randomness solutions?
2 replies
2 recasts
4 reactions

mattdesl pfp
mattdesl
@mattdesl
Interesting. I guess it means that you are letting Coinbase provide the PRNG seed? In Bitframes I mix RANDAO with my own key that commit to earlier but only reveal after random execution. Maybe a system like that is possible? https://github.com/mattdesl/bitframes-randao
1 reply
0 recast
1 reaction

Sam pfp
Sam
@sammdec.eth
It turns out that L2’s (or maybe just Base) doesn’t have a RANDAO value (I think it’s a constant). So would have to go with a VRF value I think. I ideally need it within a function call. But maybe I could use your method in an offchain way and send it to the function in my contract. Do you know if your randao would be able to have the system setup procedurally or is there a certain amount of planning for each raffle
1 reply
0 recast
0 reaction