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

(Visited 12 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

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

eos
EOS (EOS) 0,755047 0,20%
aave
Aave (AAVE) 86,04 3,25%
the-graph
The Graph (GRT) 0,246054 0,96%
kusama
Kusama (KSM) 27,99 2,86%
waves
Waves (WAVES) 2,25 2,50%
dash
Dash (DASH) 27,64 1,68%
bitcoin
Bitcoin (BTC) 59.341,50 0,89%
ethereum
Ethereum (ETH) 3.101,36 5,57%
cardano
Cardano (ADA) 0,437308 2,37%
tether
Tether (USDT) 0,934136 0,07%
xrp
XRP (XRP) 0,485499 0,83%
solana
Solana (SOL) 132,66 3,00%
polkadot
Polkadot (DOT) 6,41 3,11%
usd-coin
USDC (USDC) 0,934236 0,03%
dogecoin
Dogecoin (DOGE) 0,139914 2,83%
uniswap
Uniswap (UNI) 7,61 5,47%
terra-luna
Terra Luna Classic (LUNC) 0,000101 2,50%
litecoin
Litecoin (LTC) 79,35 0,55%
chainlink
Chainlink (LINK) 13,21 1,17%
bitcoin-cash
Bitcoin Cash (BCH) 447,96 0,88%
algorand
Algorand (ALGO) 0,184602 0,01%
matic-network
Polygon (MATIC) 0,687045 5,06%
stellar
Stellar (XLM) 0,106665 1,25%
cosmos
Cosmos Hub (ATOM) 7,79 0,93%
filecoin
Filecoin (FIL) 5,64 4,47%
tron
TRON (TRX) 0,112555 0,19%
ethereum-classic
Ethereum Classic (ETC) 27,05 8,34%
dai
Dai (DAI) 0,933183 0,08%
tezos
Tezos (XTZ) 0,950234 1,72%
monero
Monero (XMR) 116,72 3,41%