How to build an NFT raffle blockchain/web3 app

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

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,572970 0,40%
aave
Aave (AAVE) 62,98 5,66%
the-graph
The Graph (GRT) 0,084568 3,64%
kusama
Kusama (KSM) 18,05 5,81%
waves
Waves (WAVES) 1,48 3,18%
dash
Dash (DASH) 26,38 2,13%
bitcoin
Bitcoin (BTC) 26.216,77 2,96%
ethereum
Ethereum (ETH) 1.580,08 4,41%
cardano
Cardano (ADA) 0,249460 2,23%
tether
Tether (USDT) 0,954150 0,02%
xrp
XRP (XRP) 0,485429 2,78%
solana
Solana (SOL) 23,03 0,45%
polkadot
Polkadot (DOT) 3,93 3,11%
usd-coin
USDC (USDC) 0,953875 0,07%
dogecoin
Dogecoin (DOGE) 0,058876 3,28%
uniswap
Uniswap (UNI) 4,23 4,47%
terra-luna
Terra Luna Classic (LUNC) 0,000058 4,83%
litecoin
Litecoin (LTC) 62,62 3,13%
chainlink
Chainlink (LINK) 7,19 4,86%
bitcoin-cash
Bitcoin Cash (BCH) 228,90 2,02%
algorand
Algorand (ALGO) 0,097030 2,27%
matic-network
Polygon (MATIC) 0,533739 1,21%
stellar
Stellar (XLM) 0,105945 2,62%
cosmos
Cosmos Hub (ATOM) 6,85 4,51%
filecoin
Filecoin (FIL) 3,16 3,46%
tron
TRON (TRX) 0,083585 2,17%
ethereum-classic
Ethereum Classic (ETC) 15,44 3,05%
dai
Dai (DAI) 0,955124 0,09%
tezos
Tezos (XTZ) 0,649455 2,78%
monero
Monero (XMR) 138,47 2,69%