Questions tagged [random]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
94 views

Calling Harbinger using Smartpy to get randomness

I want to get a random value in my smart contract to provide a fair distribution of different tokens. I read that using Harbinger to get values and use it for entropy could be the good way to do. But ...
user avatar
1 vote
1 answer
325 views

Pseudo-random numbers for NFT attribute random generation

I'd like to generate an NFT within a contract and give it a randomly occurring attribute. As I search, it seems that the only fully-secure way to do this is to use an Oracle or build some sort of ...
user avatar
  • 233
3 votes
1 answer
229 views

Generating NFT with random attributes?

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?
user avatar
  • 233
1 vote
0 answers
100 views

Random # Generating Smart Contracts

I've had an idea about being able to utilize effectively random #s on tezos, but I don't know if it's totally stupid and impossible to utilize, or a possible and really simple solution: I need to ...
user avatar
  • 65
1 vote
1 answer
99 views

Design an oracle that provides random values to a contract

This answer mentions an improved way for an oracle to provide random numbers to a contract. use commitments, i.e. the oracle would push a hash in the contract before the game, and send the random ...
user avatar
  • 670