Skip to content

Built using ReactJS, NextJS, TypeScript, OpenZepplin Contracts, Solidity, ThirdWeb, Polygon, MetaMask, TailwindCSS, Hero Icons, React Hot Toast, React Fast Marquee, React Spinners and Husky

Notifications You must be signed in to change notification settings

valyndsilva/web3-dapp-crypto-lottery

Repository files navigation

Web3 Dapp - Crypto Lottery ⚡

Tech Stack Used:

Demo

Checkout the demo here

Sign In Using MetaMask Wallet

Buy Tickets as an Admin

When logged in as an admin you have access to the Admin Controls. You can easily draw a winner, restart the draw, withdraw commissions and refund all transactions if needed only once a draw is complete.

Login and Buy Tickets as an Admin

Expand

Buy Tickets as different Users

You can easily buy tickets as different users and the ticket count is updated on the fly.

Login and Buy Tickets as a User

Expand

Restart A Draw + Logout

A draw can be easily restarted by the admin if necessary. You can also easily logout of the draw. Restart Draw

Expand

Once tickets have been bought the admin can easily draw a winner.

Withdraw Commissions + Draw A Winner

Once tickets have been bought the admin can easily withdraw commissions and draw a winner. Draw Winner

Expand

Withdraw Winnings

Once the winner has been drawn the winner can easily withdraw their winnings. Withdraw Winnings

Expand

Refund All

The admin can refund all transactions if needed only once a draw is complete. Refund All

Expand

About

Built using ReactJS, NextJS, TypeScript, OpenZepplin Contracts, Solidity, ThirdWeb, Polygon, MetaMask, TailwindCSS, Hero Icons, React Hot Toast, React Fast Marquee, React Spinners and Husky

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published