- Ali Achour
- Amal Missaoui
- Chouaib Mrabet
- Hamza Hmaidi
- Youssef Ajlani
This Lottery Dapp is built using Solidity with MetaMask authentication.
-
Create MetaMask Account
-
Add Balance to your wallet :
- We used the Mumbai test network (for this we used Chainlist you can use any other provider)
-
Setup the Thirdweb account using MetaMask
- thirdweb is a platform that provides a suite of tools for creators, artists and entrepreneurs to easily build, launch and manage a Web3 project. thirdweb enables users to add features such as NFTs, marketplaces and social tokens to their Web3 projects without writing a line of code.
-
Deploy the smart contract found in
lottery-smart-contract
folder to Thirdweb -
Retrieve the "Address" from the App and paste it in
.env
file. -
Then Run the application :
# Add The public contract address that you get after deploying
# the smart contract in the .env file :
cp .env.example .env
npm install && npm run dev