I'd like to create a contract that generates an NFT for the caller (purchaser) that contains some randomness to it.

Are there any examples someone could point me to?

1 Answer 1


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 to use an oracle(decentralized or not) to achieve the necessary randomness.

  • Thanks, any pointers to oracles that can do this? I've heard that Chainlink was getting involved in Tezos somehow, is that something that is ready or still too early?
    – Geoff
    Apr 27, 2021 at 20:23
  • 2
    It is still early, we are currently working on the bridge which should be ready in a few weeks. But you can find a good guide here: github.com/anonymoussprocket/CryptonomicExamples/tree/master/… Apr 28, 2021 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.