Skip to content

Cyfrin/2024-10-trick-or-treat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First Flight #27: Trick or Treat

Prize Pool

  • High - 100 XP

  • Medium - 20 XP

  • Low - 2 XP

  • Starts: October 24, 2024 Noon UTC

  • Ends: October, 31 2024 Noon UTC

  • nSLOC: 109

About the Project

SpookySwap is a Halloween-themed decentralized application where users can participate in a thrilling "Trick or Treat" experience! Swap ETH for special Halloween-themed NFT treats. But beware, you might get tricked! There's a small chance your treat will cost half the price, or you might have to pay double. Collect rare NFTs, trade them with friends, or hold onto them for spooky surprises. Will you be tricked or treated?

Actors

  • Owner/Admin (Trusted) - Can add new treats, set treat costs, and withdraw collected fees.
  • User/Participant - Can swap ETH for Halloween treat NFTs, experience "Trick or Treat", and trade NFTs with others.

Scope (contracts)

All Contracts in src are in scope.

src/
├── SpookySwap.sol

Compatibilities

  • Blockchains: EVM Equivalent Chains Only
  • Tokens: Native ETH

Setup

Clone the repo

git clone https://github.com/Cyfrin/2024-10-trick-or-treat.git

Open in VSCode

code 2024-10-trick-or-treat/

Build and run tests

forge test

Known Issues

  • We're aware of the pseudorandom nature of the current implementation. This will be replaced with Chainlink VRF in later builds.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published