Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 954 Bytes

README.MD

File metadata and controls

29 lines (18 loc) · 954 Bytes

Randomness Introduction

alt text

This Scaffold-ETH 2 extension comes pre-configured with RANDOMNESS generator contract and frontend to interact with it

Installation

  npx create-eth@latest -e bhavyagor12/randomness-extension

Usage

This extension supports both foundry and hardhat so choose any.

  • For Foundry (add this to the package.json)
  • Copy the script/DeployRandomness.s.sol and script/Deploy.s.sol to your project

Documentation

Ethereum PoS introduces randomness using block.difficulty

Dice Game using RANDAO

Solidity deep dive

Stack exchange discussion

Authors