Overview
This Christmas, forget the socks and random gifts—gift each other a random memecoin and see how the price fluctuates before Xmas day. A digitalised Secret Santa game built on the Base blockchain (Ethereum L2).
In Production
- Live on mainnet basedmememas.xyz
- Check out the demo pool basedmememas.xyz/demo
How It Works
Phase 1: Join (Hidden Phase)
- Creator sets up pool with whitelisted friends, entry amount, and deadlines
- Friends join by sending ETH
- Assignments are HIDDEN—nobody knows what they'll get yet!
Phase 2: Reveal & Execution
- Join deadline passes
- Contract executes swaps to buy random meme coins for each participant
- Entry prices are recorded
- Assignments revealed—everyone sees what they got!
Phase 3: The Wait
- Watch your meme coin's price action
- Hope you got the winner!
- Wait for unlock time
Phase 4: Winner Declaration
- Anyone can trigger price recording & winner declaration
- Final prices fetched from Uniswap V3
- Leaderboard calculated by % gain/loss
- Winner identified and bonus allocated
Phase 5: Claim Rewards
- Winner claims tokens + 10% ETH bonus
- Others claim their tokens
Tech Stack
Smart Contract
- Language: Solidity
- Deployment: Foundry on Base blockchain
- DEX Integration: Uniswap V3 for price feeds and swaps
Frontend
- Initial version hosted on Dreamspace.xyz
- New frontend built with Next.js