In this project-based web3 tutorial we build a completed lottery dApp with a focus on how to build a UI for a lottery smart contract, using the web3js library.
Topics covered include: the web3js library, connecting a Metamask wallet, application binary interface (abi), NextJS, Truffle, Ethereum Rinkeby testnet, Chainlink VRN, deploying a Solidity smart contract to Ethereum and more.
Completed project code:
https://github.com/jspruance/block-explorer-tutorials/tree/main/apps/Lottery
Part 1: Smart Contract Tutorial: Create a lottery smart contract in Solidity
☞ https://morioh.com/p/d9b6823de48f?f=5c21fb01c16e2556b555ab32
Part 2: Lottery Smart Contract Tutorial - Get a verifiable random number with Chainlink VRF
☞ https://morioh.com/p/49830f87356e?f=5c21fb01c16e2556b555ab32
Ether faucet on Rinkeby testnet:
https://faucet.rinkeby.io/
LINK faucet on Rinkeby testnet:
https://faucets.chain.link/rinkeby
Address to LINK token on Rinkeby testnet:
https://docs.chain.link/docs/link-token-contracts/
Subscribe: https://www.youtube.com/@BlockExplorerMedia/featured