Questions tagged [random]
The random tag has no usage guidance.
9
questions
1
vote
2
answers
41
views
Manipulable block hash by baker
Is the block hash a manipulable variable by a baker ? If not what about the value as a good source of randomness to use as a public verifiable random seed ?
1
vote
0
answers
24
views
Baked block hash information on smart-contracts
It seems the passed baked blocks hashes are not available on-chain in LIGOLang or Michelson. Why is that and will it come later ?
0
votes
1
answer
80
views
Using dummy address for randomization
Hey below function is used to originate a dummy contract address.
As tezos doesn't provide transaction hash or block hash.
I am planning to use dummy contract address as a seed and then generate a ...
0
votes
1
answer
104
views
Random Numbers Generation
I am writing a contract in smartpy where I need to generate a random number between two numbers. I see mostly people are depending on Harbinger oracle.
I want to know if there is any other way on ...
1
vote
1
answer
142
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 ...
1
vote
1
answer
436
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 ...
3
votes
1
answer
243
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?
2
votes
0
answers
108
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 ...
1
vote
1
answer
123
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 ...