PoolTogether 3.0
HomeAppBuilder
v3.2.0
v3.2.0
  • ✨Introduction
  • 📡Networks
  • 🚰Resources
  • Protocol
    • 🌐Overview
    • 🏆Prize Pools
      • âš–ī¸ Fairness
      • Compound Prize Pool
      • Stake Prize Pool
      • Custom Yield Sources
    • 💸Prize Strategies
      • Yield Sources
      • 🤑Multiple Winners
    • đŸŽŸī¸ Tokens
      • đŸŽŸī¸ Ticket
      • 🎁Sponsorship
      • 👂Token Listener
    • 🎲Random Number Generator
      • Blockhash
      • Chainlink VRF
    • đŸ´â€â˜ ī¸ Loot Box
    • â›ŊGas Usage
  • Governance
    • đŸ›ī¸ Overview
    • đŸ•šī¸ Controls
    • đŸ—ŗī¸ Process
  • Security
    • Risks
    • Audits & Testing
    • Bounties
Powered by GitBook
On this page

Was this helpful?

  1. Protocol
  2. Random Number Generator

Blockhash

PreviousRandom Number GeneratorNextChainlink VRF

Last updated 4 years ago

Was this helpful?

The Blockhash RNG uses a future blockhash as the random number. This is the least secure method of random number generation, but also the simplest and cheapest.

When a user request a random number their lock block will be the current block. Their request is considered 'complete' when at least one block has been mined since the lock block. Upon retrieval the last blockhash will be stored as the random number and returned.

Usage

A prize strategy can use a RNG service. No additional work is needed: the blockhash service is free.

🎲
RNGBlockhash