A Farcaster Mini App for daily fantasy sports with crypto integration. Draft memecoins, traders, and athletes for crypto events and real sports. Compete in daily fantasy leagues with USDC entry fees, big prize pools, and live leaderboards.
Features โข Getting Started โข Documentation โข Contributing
| Platform | Link |
|---|---|
| ๐ฑ Telegram | t.me/novustch |
| ๐ฒ WhatsApp | wa.me/14105015750 |
| ๐ฌ Discord | discordapp.com/users/985432160498491473 |
Feel free to reach out for implementation assistance or integration support.
Crypto Fantasy League is a web-based mini application built for the Farcaster ecosystem. It runs seamlessly within Farcaster clients (such as Warpcast) on both mobile and desktop platforms, providing users with an engaging fantasy sports experience that combines traditional sports with cryptocurrency markets.
- ๐ฎ Daily Fantasy Leagues - Compete in daily fantasy competitions
- ๐ฐ Crypto Integration - USDC entry fees and prize pools
- ๐ Live Leaderboards - Real-time competition tracking
- ๐ฏ Multi-Asset Drafting - Draft memecoins, traders, and athletes
- ๐ฑ Cross-Platform - Works on iOS, Android, and Web via Farcaster clients
- ๐จ Modern UI - Built with shadcn/ui and Tailwind CSS
- Framework: Next.js 15.5.4
- React: 19.2.0
- TypeScript: 5.x
- Styling: Tailwind CSS 4.x
- UI Components: shadcn/ui (Radix UI primitives)
- Form Handling: React Hook Form + Zod validation
- Farcaster SDK:
@farcaster/miniapp-sdkv0.1.10 - Deployment: Xnode (OpenxAI infrastructure)
- Build System: Nix Flakes
- Node.js 18+ (or Bun)
- npm, yarn, or pnpm
- Git
- Nix (for Nix-based builds, optional)
-
Clone the repository
git clone https://github.com/NovusTechLLC/Fanduel-Sports.git cd Fanduel-Sports -
Install dependencies
cd mini-app npm install -
Set up environment variables Create a
.env.localfile in themini-appdirectory (see.env.examplefor reference):NEXT_PUBLIC_URL=https://your-domain.com ACCOUNT_ASSOCIATION={"header":"","payload":"","signature":""} BASE_BUILDER={"allowedAddresses":[]}
From the root directory (Nix build):
nix runFrom the mini-app directory:
# Start development server
npm run dev
# Build for production
npm run build
# Start production server
npm run start
# Run linter
npm run lintThe development server will start at http://localhost:3000.
Fanduel-Sports/
โโโ .github/
โ โโโ workflows/ # GitHub Actions CI/CD workflows
โโโ mini-app/ # Next.js application
โ โโโ app/ # Next.js app directory
โ โ โโโ layout.tsx # Root layout
โ โ โโโ page.tsx # Home page
โ โ โโโ .well-known/ # Farcaster manifest routes
โ โโโ components/ # React components
โ โ โโโ ui/ # shadcn/ui components
โ โ โโโ context/ # React context providers
โ โโโ lib/ # Utility functions and configs
โ โโโ public/ # Static assets
โโโ documentation/ # Project documentation
โโโ nix/ # Nix package definitions
โโโ .editorconfig # Editor configuration
โโโ .gitignore # Git ignore rules
โโโ CHANGELOG.md # Version history
โโโ CODE_OF_CONDUCT.md # Community guidelines
โโโ CONTRIBUTING.md # Contribution guidelines
โโโ flake.nix # Nix flake configuration
โโโ LICENSE # MIT License
โโโ README.md # This file
โโโ SECURITY.md # Security policy
This app is configured as a Farcaster Mini App, which means:
- It can be discovered and launched within Farcaster clients
- Users can authenticate using their Farcaster identity
- The app can send notifications to users
- Pages can be shared as rich cards in Farcaster feeds
The Farcaster manifest is served at /.well-known/farcaster.json and includes app metadata, icons, and configuration.
This project is configured for deployment on Xnode (OpenxAI's infrastructure). The Nix-based build system ensures reproducible builds across different environments.
# Using Nix
nix build
# Using npm
cd mini-app
npm run build- All component files should start with
"use client";directive - Use existing shadcn/ui components when possible
- Follow TypeScript best practices with explicit type annotations
- Maintain the Farcaster metadata export on the home page
- Use Tailwind CSS for styling (configured in
globals.css)
We welcome contributions! Please read our Contributing Guide and Code of Conduct before submitting pull requests.
Key guidelines:
- Code follows the existing style and conventions
- All components include proper TypeScript types
- The Farcaster manifest remains properly configured
- UI components maintain consistency with the design system
- All tests pass and linting checks succeed
See CONTRIBUTING.md for detailed information.
- Farcaster Integration - Farcaster Mini App setup and configuration
- Next.js Guide - Next.js specific documentation
- shadcn/ui Components - UI component library documentation
- Tailwind CSS - Styling guidelines
For security concerns, please see SECURITY.md. We take security seriously and appreciate responsible disclosure of vulnerabilities.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built using the OpenxAI Mini App Factory template
- UI components from shadcn/ui
- Powered by Farcaster and Xnode
For more information about Farcaster Mini Apps, see the documentation.