Skip to content

clemlak/fe-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ban

Fecret Santa

A Secret Santa with a twist! Send a collectible to the last Santa and you'll be the next to receive a gift 🎅

Overview

Fecret Santa is fun project made for the Fe hackathon, and obviously the smart-contract is written in Fe!

This version of Secret Santa is a bit different from the original one, here the concept is based on a chain (see what I did there?) of Santas, where anyone can join by sending a gift to the last Santa in the chain, and then they'll be the next to receive a gift!

Santas can gift each other ERC721 and ERC1155 tokens, however the collectibles must be whitelisted beforehand (to keep the Grinch from ruining the fun!).

Instructions

This repository is a Fe project that comes with Foundry installed. This allowed me to create more complex tests (Fe tests are kind of limited at this time) and deploy ERC721 and ERC1155 mock contracts.

If you want to test or build the project, be sure to:

  1. Install Fe
  2. Install Foundry

Once that's done, you can:

Run the Fe tests:

$ fe test

Or build the Fe project:

$ fe build

You can also run the Forge tests:

$ forge test

Have fun!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors