Skip to content

devEdexa/VRF-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

VRF-contracts

About

The VRF contract are part of edexa VRF setup which is used to create secure random numbers

How to use

  1. clone the repo
git clone "https://github.com/nishil-edx/VRF-contracts"
  1. use remix/hardhat to deploy consumer contract . Dont forgot to use edexa testnet chain

  2. use coordinator address in consumer constructor which deployed for edexa testnet

0x86d47638A8287F058190A2197f085EDCEdF984DA
  1. you can make custom versions of consumer contracts but make sure it inherit IVRFConsumer interface

  2. call RequestrandomNumbers() function with any random seed of your choice and total number of random needed . Note 100 is the max limit

  3. wait for few seconds for the oracle to call back your contract, and use viewRandom() function to check the result the random numbers will be replace by each call

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published