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 13 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,722897 0,28%
aave
Aave (AAVE) 77,58 0,28%
the-graph
The Graph (GRT) 0,260449 0,78%
kusama
Kusama (KSM) 26,18 0,68%
waves
Waves (WAVES) 2,12 0,50%
dash
Dash (DASH) 26,12 0,55%
bitcoin
Bitcoin (BTC) 58.272,96 2,11%
ethereum
Ethereum (ETH) 2.733,77 0,36%
cardano
Cardano (ADA) 0,410704 0,53%
tether
Tether (USDT) 0,927921 0,03%
xrp
XRP (XRP) 0,471342 0,96%
solana
Solana (SOL) 137,03 1,67%
polkadot
Polkadot (DOT) 6,22 0,25%
usd-coin
USDC (USDC) 0,928351 0,04%
dogecoin
Dogecoin (DOGE) 0,140670 6,66%
uniswap
Uniswap (UNI) 6,54 1,04%
terra-luna
Terra Luna Classic (LUNC) 0,000097 0,64%
litecoin
Litecoin (LTC) 75,56 0,66%
chainlink
Chainlink (LINK) 12,48 0,45%
bitcoin-cash
Bitcoin Cash (BCH) 410,13 2,05%
algorand
Algorand (ALGO) 0,164799 1,04%
matic-network
Polygon (MATIC) 0,618599 1,86%
stellar
Stellar (XLM) 0,097065 0,61%
cosmos
Cosmos Hub (ATOM) 7,89 1,48%
filecoin
Filecoin (FIL) 5,19 1,12%
tron
TRON (TRX) 0,116811 0,96%
ethereum-classic
Ethereum Classic (ETC) 24,57 0,93%
dai
Dai (DAI) 0,926908 0,10%
tezos
Tezos (XTZ) 0,824465 1,14%
monero
Monero (XMR) 125,37 0,56%