Skip to main content

Questions tagged [random]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

Will smart rollups allow to produce random numbers on chain?

Will smart rollups or future Tezos upgrades allow to produce random numbers on chain? Or do we will still need to use the oracle solution or commit/reveal scheme? (There's a need for random number ...
Matt Sparrer's user avatar
1 vote
2 answers
42 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 ?
Mieus's user avatar
  • 121
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 ?
Mieus's user avatar
  • 121
0 votes
1 answer
82 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 ...
Kin's user avatar
  • 184
0 votes
1 answer
140 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 ...
Kin's user avatar
  • 184
1 vote
1 answer
161 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 ...
Noctambul's user avatar
1 vote
1 answer
452 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 ...
Geoff's user avatar
  • 233
3 votes
1 answer
247 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?
Geoff's user avatar
  • 233
2 votes
0 answers
109 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 ...
Teztees's user avatar
  • 75
1 vote
1 answer
125 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 ...
MCH's user avatar
  • 690