In this smart contract tutorial we create a lottery smart contract in Solidity, guiding you through the process step-by-step. We write, deploy and test our code using the remix editor. Topics covered include sending and receiving ether, random and pseudo-random number generation and more.
Part 2: Lottery Smart Contract Tutorial - Get a verifiable random number with Chainlink VRF
☞ https://morioh.com/p/49830f87356e?f=5c21fb01c16e2556b555ab32
Part 3: Web3 Tutorial Project | Build a web3js dApp with a Solidity lottery smart contract on Ethereum
☞ https://morioh.com/p/41b7d3012b99?f=5c21fb01c16e2556b555ab32
Source code for this video:
https://github.com/jspruance/block-explorer-tutorials/blob/main/smart-contracts/solidity/Lottery.sol
Remix IDE:
https://remix.ethereum.org/
Subscribe: https://www.youtube.com/@BlockExplorerMedia/featured
#Solidity #web3 #smartcontract