Create a NFT raffle where the owner of the contract can select an NFT to put up for raffle. Users purchase raffle tickets and a random winner will be selected and transferred the NFT.
This repo is in reference to the thirdweb tutorial video: YouTube
- Owner can start a raffle by providing the NFT contract and token ID of the NFT raffle prize (Checks to see if the NFt is owned by the owner)
- Owner can set the price of the raffle entries
- Owner can start and stop the raffle manually at any time
Follow along in the thirdweb tutorial video above or deploy the pre-built Raffle Contract
To learn more about thirdweb and Next.js, take a look at the following resources:
- thirdweb React Documentation - learn about our React SDK.
- thirdweb TypeScript Documentation - learn about our JavaScript/TypeScript SDK.
- thirdweb Portal - check our guides and development resources.
- Next.js Documentation - learn about Next.js features and API.
You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!
For any questions, suggestions, join our discord at https://discord.gg/thirdweb.