In this smart conract tutorial we use Chainlink VRF to improve the lottery smart contract that we created in Part I by replacing the pseudo-random number generator code with a true, verifiable random number.
Chainlink is a decentralized blockchain oracle network built on Ethereum.
Part III – Build a UI for this smart contract using Web3js:
Source code for this tutorial:
Rinkeby testnet faucet: