nkrishang / chainlink-vrf-test

A dummy contract that tests the Chainlink VRF system. It requests a random number and can receive one.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chainlink VRF test contract

The RandomEmitter.sol contract uses Chainlink VRF to request and receive provably random numbers.

The deploy.js script is a deployment script. The fund.js script funds the deployed RandomEmitter.sol contract with LINK tokens to pay the fees for random number requests. The random.js script requests a new random number from the Chainlink VRF system.

RandomEmitter.sol rinkeby address -- 0x21e232d1fA22048c3015826d00d1c252599Bd9eb

About

A dummy contract that tests the Chainlink VRF system. It requests a random number and can receive one.


Languages

Language:JavaScript 73.3%Language:Solidity 23.5%Language:Shell 3.2%