A Secret Santa with a twist! Send a collectible to the last Santa and you'll be the next to receive a gift 🎅
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!).
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:
Once that's done, you can:
Run the Fe tests:
$ fe testOr build the Fe project:
$ fe buildYou can also run the Forge tests:
$ forge testHave fun!