3

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?

4

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.

2
  • 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 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/… – Rodrigo Quelhas Apr 28 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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