Skip to content

Cyfrin/2024-09-mystery-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First Flight #25: MysteryBox

Prize Pool

  • High - 100 XP

  • Medium - 20 XP

  • Low - 2 XP

  • Starts: September, 26 2024 Noon UTC

  • Ends: October, 03 2024 Noon UTC

  • nSLOC: 86

About the Project

MysteryBox is a thrilling protocol where users can purchase mystery boxes containing random rewards! Open your box to reveal amazing prizes, or trade them with others. Will you get lucky and find the rare treasures?

Actors

  • Owner/Admin (Trusted) - Can set the price of boxes, add new rewards, and withdraw funds.
  • User/Player - Can purchase mystery boxes, open them to receive rewards, and trade rewards with others.

Scope (contracts)

All Contracts in src are in scope.

src/
├── MysteryBox.sol

Compatibilities

  • Blockchains: EVM Equivalent Chains Only
  • Tokens: Standard ERC20 Tokens Only

Setup

Clone the repo

git clone https://github.com/Cyfrin/2024-09-mystery-box.git

Open in VSCode

code 2024-09-mystery-box/

Build and run tests

forge test

Known Issues

  • No known issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published