In this video, we’ll build a simple NFT raffle application where the owner of the contract can put an NFT up to be raffled. Users can then purchase raffle entries and the owner can then select a random winner. We’ll build our own custom raffle smart contract and then built our application.
Demo repo: https://github.com/watase-eth/raffle-app
Token Transfer Contract: https://thirdweb.com/watase.eth/LotteryContract
Smart contract random numbers: https://docs.chain.link/vrf/v2/subscription/examples/get-a-random-number
thirdweb Docs: https://portal.thirdweb.com/
Chakra UI docs: https://chakra-ui.com/getting-started
Join our Community of over 30,000 Web3 builders: https://discord.gg/thirdweb
thirdweb Official Site: https://thirdweb.com/dashboard
thirdweb Twitter: https://twitter.com/thirdweb
Timestamps:
00:00 Introduction
00:52 Create raffle contract
25:53 Deploy raffle contract
28:17 Create and setup application
31:30 Build raffle application
01:41:11 Demo – Raffle application
Error: Contact form not found.