4
votes
Accepted
Generating NFT with random attributes?
Tezos doesn't provide any randomness though Michelson currently. PVSS features are expected to come in future proposals which can enable randomness generation.
Currently, the best solution is probably ...
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'...
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#...
1
vote
Design an oracle that provides random values to a contract
Some sketches of a response:
You also need to trust that the oracle actually generates random values. Note that you can distribute the trust by using the several oracles and combining the result.
I ...
Only top scored, non community-wiki answers of a minimum length are eligible