Content
@
0 reply
0 recast
0 reaction
Noah Bragg ๐ฅ
@nbragg
Reading into how to create random numbers on the blockchain. Seems like commit/reveal schemes can be a great solution if you are ok with having a centralized actor a part of it. This is probably fine for most games that want to add some randomness. If you have bigger value at stake then ChainLink VRF is probably the way to go.
2 replies
0 recast
4 reactions
Corbin Page
@corbin.eth
If you're ok being your own centralized actor, which I think is ok for most games, you can generate a random number offchain and sign it. Then verify the message onchain to get the random number. This is what we do for King of the Degens.
1 reply
0 recast
1 reaction
Noah Bragg ๐ฅ
@nbragg
Does this take 1 tx onchain?
1 reply
0 recast
1 reaction