← Back to home

Raffle AI NFT

Create AI NFTs through prompts, put them into a lottery, and win money.

Screenshots

Raffle AI NFT screenshot 1
Raffle AI NFT screenshot 2
Raffle AI NFT screenshot 3

Problem Statement

Image generated through AI is minted as an NFT, owner of NFT creates a raffle, NFT goes to the contract. NFT goes to a random participant, owner gets the pool moneyWe wrote a smart contract which takes the holds of NFT for the entire duration of the raffle, after generating the random number through solidity with libraries for random number generation, we took help of this documentation

Solution

Create AI NFTs through prompts, put them into a lottery, and win money. A smart contract randomly selects the winner, and after generating a random number, the NFT is transferred from the contract to the person who wins the lottery. This process uses technologies like NextJS, WalletConnect, smart contracts, and prompt image generation.

Hackathon

HackFS 2024

2024

Contributors