- MegaETH Ecosystem: Discover and vote on projects building on MegaETH with community-driven rankings
- MegaETH Moonmath: Calculate potential returns for Echo, Fluffle & Sonar investment rounds
- Fluffle Builder: Create your perfect Fluffle NFT by mixing and matching traits
- PFP Generator: Generate custom profile pictures from your Fluffle NFTs
- Testnet Bingo: Track your progress completing MegaETH testnet tasks
- Discord Integration: Secure authentication with role-based voting power
- Brutalist Design: Bold, high-contrast UI inspired by MegaETH's aesthetic
- Responsive Design: Optimized for both desktop and mobile experiences
- Node.js 18.x or later
- npm 9.x or later
- Git
- Discord application credentials (for auth features)
- Clone the repository:
git clone https://github.com/yourusername/fluffle-3d.git
cd fluffle-3d- Install dependencies:
npm install- Set up environment variables:
Create a .env file with the following:
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DATABASE_URL=your_database_url- Start the development server:
npm run dev- Open http://localhost:3000 in your browser
The ecosystem directory fetches projects from the Fluffle Tools API (https://api.fluffle.tools/api/projects/full). Each project includes:
- Project Information: Name, description, category, and social links
- Voting System: Community-driven rankings with role-based voting power
- Status Indicators: Live status, MegaMafia membership, and Omega designation
- Custom Images: Project logos and branding
- Role-Based Power: Different Discord roles have different voting weights
- MiniETH: 1 vote
- MegaETH: 5 votes
- GigaETH: 10 votes
- TeraETH: 50 votes
- PetaETH: 100 votes
- ExaETH: 500 votes
- Vote Caching: User votes are cached locally for instant feedback
- Real-time Updates: Vote counts update immediately after submission
NFT: NFT collections and marketplacesDeFi: Decentralized finance projectsInfrastructure: Core blockchain infrastructureCommunity: Community tools and platformsGaming: Gaming and metaverse projectsAI: Artificial Intelligence and agent projectsMeme: Meme coins and related projects
Projects are managed through the Fluffle Tools API. To add your project, please contact the team via Discord or Twitter.
fluffle-3d/
βββ src/
β βββ app/ # Next.js app router pages
β β βββ api/ # API routes (Discord auth, math markets)
β β βββ bingo/ # Testnet Bingo page
β β βββ builder/ # Fluffle Builder page
β β βββ math/ # MegaETH Moonmath calculator
β β βββ pfp/ # PFP Generator page
β βββ components/ # React components
β β βββ bingo/ # Bingo game components
β β βββ builder/ # NFT builder components
β β βββ ecosystem/ # Ecosystem directory components
β β βββ math/ # Moonmath calculator components
β β βββ pfp/ # PFP generator components
β β βββ ui/ # Shared UI components
β βββ contexts/ # React contexts (Discord auth)
β βββ data/ # Static data (bingo tasks)
β βββ hooks/ # Custom React hooks
β βββ lib/ # Shared libraries and utilities
β βββ types/ # TypeScript type definitions
β βββ utils/ # Utility functions
βββ prisma/ # Database schema and migrations
βββ public/ # Static assets
β βββ avatars/ # Project logos
β βββ ui/ # UI assets (videos, icons)
β βββ math-tokens/ # Token images for Moonmath
βββ scripts/ # Utility scripts
- Framework: Next.js 14 with App Router
- Language: TypeScript
- Styling: Tailwind CSS with custom brutalist design system
- UI Components: Radix UI for accessible primitives
- Authentication: Discord OAuth2 with role-based permissions
- Database: Prisma with PostgreSQL
- State Management: React Hooks and Context API
- Image Optimization: Next.js Image component
- API Integration: CoinGecko, Hyperliquid, Fluffle Tools API
- Deployment: Vercel
This project is optimized for deployment on Vercel:
- Push your code to a Git repository
- Import your repository on Vercel
- Set up the required environment variables:
DISCORD_CLIENT_ID- Discord OAuth client IDDISCORD_CLIENT_SECRET- Discord OAuth client secretDISCORD_BOT_TOKEN- Discord bot token for role verificationDISCORD_REQUIRED_SERVER_ID- Discord server ID for role checksDATABASE_URL- PostgreSQL database connection stringTOKEN_PRICE_API- API endpoint for token price data
- Vercel will automatically detect Next.js and deploy
Contributions are welcome! Please check our Contributing Guide for details.
This project is protected under a custom license that allows viewing, using, and contributing to the original repository while restricting redistribution and commercial use. See the LICENSE file for details.
Key points:
- β You can contribute to the project
- β You can use it for private, non-distributed purposes
- β You cannot redistribute it as a standalone application
- β You cannot create public derivative works
- β You cannot use it for commercial purposes without permission
