Skip to content

Puzzle Lottery and Raffle Contract #86

@Mkalbani

Description

@Mkalbani

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions