Project Description:
Poolen is a simple prototype of betting application built on top of lens network to handle picking meme & distributing rewards once the time ends. We used the Lens v3 integration with Connectkit to connect as well as utilised the usage of v3 lens sdk to onboard mulitple users. Poolen handles or works as contract that enables the txns based on smart wallet account instance supported by lens i.e. we don't use the EOA wallet address to sign the txns on contract rather use lens account instace for every procedure. Having such use case we can easily bind the username that were being transacting in our contract even if the single EOA wallet handles multiple lens account addresses.
Team Members: (Name and Lens Handle)
Screenshot of homepage where anyone can make a bet:
Use cases
- Enables token prediction for memecoins
- Streamlined user onboarding
- Profile and account management
- Token management & withdrawal function from Smart Wallet > EOA
MemeMelee is a smart contract that enables users to bet on memes in 24-hour rounds. Users place bets on memes, and winners are determined by price performance. Rewards are automatically distributed at the end of each round.
- Daily betting rounds with automatic reset
- Single bet per user per round
- Fair reward distribution system
- Transparent betting history
- Owner-controlled meme management
- Betting
pickMeme(): Place bet on a meme- Minimum bet: 0.001 GRASS
- One bet per user per round
- Round Management
- 24-hour rounds
- Automatic stats reset
- Prize pool tracking
- Recent bet history (last 50)
- Reward System
- 5% platform fee
- 95% distributed to winners
- Proportional distribution based on bet size
- Automatic distribution at round end
- Admin Controls
- Add new memes
- Set round winners
- Manage round closure
- Cannot modify core mechanics
- Security Features
- OpenZeppelin's Ownable
- Immutable token integration
- Safe math operations
- ETH transfer safety checks
- Users can place bets using
pickMeme() - Admin adds memes via
addMeme() - Rounds end automatically after 24 hours
- Winners receive rewards automatically
- New round starts immediately after
- MemePicked
- RoundEnded
- UserRewarded
- MemePriceSet
- NewRoundStarted
- MemeAdded
Technical Stack
Frontend: React + TypeScript with Vite
Styling: TailwindCSS + shadcn/ui
Web3:
- Lens Protocol for social graph
- ConnectKit + wagmi + viem for wallet connections
- Alchemy custom Lens testnet RPC Backend: Node.js with Express
Development Roadmap
- User created based prediction market handling Oracle based decentralized results
- On-chain community comments
- More streamlined lens sdk integration (i.e. session management & more)
Demo Video/Slide Deck Link:
https://docs.google.com/presentation/d/1UWi1INSxjRHQOtSTEMVGzcdULHS5o_dO4giZvrGc7_Y/edit?usp=sharing
Profile section screenshot: