-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Location: contracts/puzzle_lottery
Labels: smart-contract, soroban, good first issue
Estimated Time: 7 hours
Difficulty: Medium
Description
Create a lottery system where players buy tickets with tokens for a chance to win rare NFTs and large token prizes.
Tasks
- Design lottery round structure
- Implement ticket purchase with tokens
- Add verifiable random winner selection
- Create prize distribution logic
- Implement round scheduling (weekly/monthly)
- Add prize pool accumulation
- Create ticket refund for cancelled rounds
- Write lottery flow tests
- Add multiple prize tiers
- Implement guaranteed winner mechanism
Acceptance Criteria
- Tickets purchased with tokens
- Winners selected randomly and verifiably
- Prizes distributed correctly
- Rounds schedule automatically
- Cancelled rounds refund tickets
- Contract deployed to testnet
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program