A tutorial worth gold. You will learn how to build a full ERC-20 lottery game, Including Frontend, Backend and smart contract!
A lottery game that pays prizes with your own ERC-20 token. Users will choose 6 numbers and at every draw interval winning numbers will be obtained and a jackpot offered for anyone that matches the right numbers.
Lets create the Chainlink VRF subscription and build the initial smart contract functions to obtain number randomness and sort the array in order with a bubble sort.
You will learn so many amazing blockchain smart contract techniques!!
░█▀▀▄░█▀▀░▀█▀░█▀█░█▀▄░█▀▀░▄░░░▄
░█░▒█░█▀▀░░█░░▒▄▀░█░█░█▀▀░░█▄█░
░▀░░▀░▀▀▀░░▀░░█▄▄░▀▀░░▀▀▀░░░▀░░
Github Repo:
https://github.com/net2devcrypto/N2DL...
👑 Looking for Web3 / DeFI / Blockchain Development Services ?
https://net2dev.io
👌Want to get your hands on the most secure cold wallet ??
HIT THE LINK FOR A SPECIAL PROMO - Keystone Wallet
https://bit.ly/42Omys3
👍HIT The Like Button and Subscribe for more amazing content!
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⡟⠁⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠈⢹⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⢠⣴⣾⣵⣶⣶⣾⣿⣦⡄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⢀⣾⣿⣿⢿⣿⣿⣿⣿⣿⣿⡄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⢸⣿⣿⣧⣀⣼⣿⣄⣠⣿⣿⣿⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠘⠻⢷⡯⠛⠛⠛⠛⢫⣿⠟⠛⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⣧⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢡⣀⠄⠄⢸⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣆⣸⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
Join Net2Dev Official Discord!
/ discord
THIS VIDEO IS NOT FINANCIAL ADVISE!
FOR EDUCATIONAL PURPOSES ONLY!
@chainlink
#web3 #blockchain #erc20
▬▬▬▬▬
SECTIONS 💬 (Watch to the end!)
00:00 - Intro
09:15 - Create your Chainlink VRF Subscription
12:10 - Lottery Smart Contract - Chainlink VRF Integration
23:00 - Lottery Smart Contract - Obtain the VRF Random Numbers
26:30 - Lottery Smart Contract - Chainlink VRF Callback Functions
29:30 - Lottery Smart Contract - Test Contract to Obtain VRF Random Numbers
33:39 - Lottery Smart Contract - Function to Obtain Winning Numbers from Random Numbers
38:37 - NodeJS - Sort Array in Order with a Bubble Sort Function
45:49 - Ending.
▬▬▬▬▬
** NOT FINANCIAL ADVISE **
USE IT AT YOUR OWN RISK* **I'M NOT RESPONSIBLE FOR ANY USE, ISSUES ETC.. **