Category "scrypto"

Is Runtime::generate_uuid() safe in Scrypto?

I want to make a game in a Scrypto blueprint where users can play with their Gumball NFTs. My blueprint has a pub fn attack(&self, my_gumball: Proof, other_

How can we generate random values in Scrypto?

How can we generate random numbers in Scrypto if floating point libraries are not allowed be used? I want to be able to generate unique IDs for NFTs.