Hot answers tagged

3 votes
Accepted

Pseudo-random numbers for NFT attribute random generation

So my specific questions: Is there a way to get the next block hash within a smart contract? No, there is no instruction in Michelson to query a block hash. Or some other way to get a value that isn'...
user avatar
1 vote
Accepted

Calling Harbinger using Smartpy to get randomness

This project tezos-randomizer uses the Harbinger Oracle. Try to have a look at this file: https://github.com/asbjornenge/tezos-randomizer/blob/c4e2134daa724c6338c01daba055b85397ffd97e/randomizer.py#...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible