Skip to content
/ rng Public

Contracts for the random number generator

Notifications You must be signed in to change notification settings

suefay/rng

Repository files navigation

Contracts for the Random Number Generator

The RNG implementation is powered by the Verifiable Random Function(VRF).

Get Started

Install Dependencies

The project is based on the Hardhat framework. Install hardhat and other packages by the command:

npm install

Compile

npx hardhat compile

Configure

Configure the VRF related params in vrf.config.js. Set to the coordinator on the KCC Testnet by default.

Deploy

  • KCC Testnet
npx hardhat run scripts/deploy.js
  • KCC Mainnet
npx hardhat run --network kcc_mainnet scripts/deploy.js

About

Contracts for the random number generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published