Discover exactly what happened by following this link: Partership Scam
This repository houses a comprehensive lottery full-stack application. It encompasses the following components:
- A responsive user interface
- An allowlist feature with Twitter and Discord authentication + Firebase database for storing data
- Referral system for allowlisted users
- A leaderboard system for ranking allowlisted users
- A profile section for reviewing your transaction history
- Battles section for participating in a battle
- Gasless entry. Requires to add funds in FundManager Contract for gasless entry
- A Lottery Contract
- A Fund Manager contract that manages funds for gasless transactions
- A BackList Contract for managing blacklisted users
- To make this gasless and cost-effective, I attempted to reduce the code within a function and centralize certain elements. Alternatively, you can also consider implementing EIP 4337.
- Contract testing using Foundry.
- The primary contracts are BlackListManager.sol, ChainWarzLottery.sol, and FundManager.sol, with others serving as testing contracts.
- Starting Battles
- Ending battles
- Approving allowlisted users
- For optimal efficiency, consider eliminating unnecessary getter functions and implementing GraphQL for data retrieval.
- Also remove some useless code or interface components.