Skip to content

yusufky63/8bitminter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ VisionZ Coin Maker

Retro-Token Creator for Farcaster and Base, Powered by Smart Content Engines

VisionZ Coin Maker is a retro-themed Farcaster Mini App that allows users to create their own digital tokens with personalized images and descriptions. Users can create visually powerful and blockchain-compatible tokens in a nostalgic interface without the need for technical knowledge.

๐Ÿ’ก What it does

VisionZ allows users who love retro aesthetics to create their own personalized digital assets with just a few clicks. Images and content are guided by smart content engines working in the background; the user only needs to make selections and create.

๐Ÿง  The problem it solves

Creating tokens was a process that required technical knowledge. VisionZ transforms this complex structure into an intuitive interface, offering an experience where everyone can create their own digital assets โ€” easy, fun, and stylish.

๐Ÿšง Challenges I ran into

  • Synchronized production of style-compatible, nostalgic, and consistent visuals with content engines
  • Keeping the user experience simple while maintaining the retro concept within the Farcaster Mini App
  • Error-free token deployment with Zora SDK
  • Real-time onchain data integration and analysis
  • Creating an accurate token scoring algorithm
  • Implementing fallback systems for multiple AI services

๐Ÿ› ๏ธ Technologies I used

  • Next.js + TypeScript โ€“ Powerful frontend infrastructure
  • Tailwind CSS โ€“ Customized design system for retro concept
  • Wagmi + Zora SDK โ€“ Blockchain and wallet integration
  • Farcaster SDK โ€“ Mini App compatibility
  • Viem โ€“ Ethereum interaction and onchain data fetching
  • Multiple AI Services:
    • Together API: Text generation and image creation
    • Stability AI: High-quality image generation with advanced models
    • Replicate: Fallback image generation service
    • Custom AI Analysis: Token analysis and risk assessment

๐Ÿ› ๏ธ How we built it

We created a user-friendly design system: neon lines, CRT effects, retro typography. Then, through content engines, we produced stylized images and descriptions appropriate to the inputs received from the user. We then transferred this production directly to the blockchain with Zora SDK. The entire process was prepared in accordance with the Farcaster Mini App structure.

๐Ÿ“š What we learned

  • When simplicity and style are presented together, users feel more creative
  • Visually supported token production offers not just an asset, but also a form of expression
  • Thanks to Mini App structures, products can reach much wider audiences
  • Real-time blockchain data integration significantly improves user decision-making
  • Multi-API fallback systems ensure service reliability

๐Ÿ”ฎ What's next

  • Add more features and improvements
  • Optimize performance and fix bugs
  • Redesign and enhance the UI
  • Implement advanced trading features
  • Add portfolio tracking capabilities
  • Expand AI analysis capabilities

๐Ÿ“ฑ App Pages & Features

๐Ÿ“‹ Main Screens

  • RetroIntro: Welcome screen with app introduction and getting started guide
  • RetroCategories: Selection screen for token categories and purposes
  • RetroImageGen: AI-powered pixel art generation for token visuals
  • RetroMint: Final token creation and blockchain deployment screen
  • RetroSuccess: Confirmation screen after successful token creation
  • CoinHolderView: View tokens that you currently hold
  • CoinExplorer: Explore tokens created by other users

๐Ÿ”ง Components

  • Header: Navigation between app sections (CREATE, HOLD, EXPLORE)
  • CoinDetails: Comprehensive token analysis and trading interface
  • RetroNotification: System notifications with pixel-perfect styling
  • RetroButton/RetroInput: Custom UI components with 80s aesthetic

๐ŸŽฏ Enhanced Token Details & Analysis System

Token Score & Rating System

Our comprehensive scoring algorithm evaluates tokens across 5 key metrics:

// Token Score Calculation (0-100 scale)
const tokenScore = {
  overall: overallScore,        // Weighted average of all metrics
  liquidity: liquidityScore,    // Based on market cap size
  volume: volumeScore,         // 24h and total volume performance
  community: communityScore,   // Holders + comments + transfer activity
  risk: riskScore,            // Age, holder distribution, liquidity risks
  growth: growthScore         // 24h market cap change performance
};

// Scoring Criteria:
- Liquidity: Market cap >$100K = 90pts, >$50K = 80pts, >$10K = 60pts
- Volume: 24h >$10K = 95pts, >$1K = 80pts, >$100 = 60pts
- Community: Holders + Comments + Transfer activity combined
- Risk: Inverted risk factors (age, concentration, liquidity)
- Growth: 24h change >50% = 95pts, >20% = 80pts, >10% = 70pts

Multi-Tab Interface

  1. Details Tab:

    • Token Score & Rating display
    • Comprehensive token statistics
    • 24h market data with color-coded changes
    • Onchain data integration
    • Community comments with pagination
  2. Trade Tab:

    • Buy/Sell interface with real-time balance display
    • Percentage-based trading (10%, 25%, 50%, MAX)
    • USD value estimation and slippage calculation
    • Token amount estimation for trades
  3. Analysis Tab:

    • AI-powered token analysis
    • Custom question input
    • Quick analysis buttons for common queries
    • Comprehensive risk and opportunity assessment

AI Services Integration

Image Generation APIs (Fallback System)

// Primary: Stability AI (High Quality)
const stabilityAI = {
  model: "stable-diffusion-xl-1024-v1-0",
  size: "1024x1024",
  samples: 1,
  steps: 30
};

// Secondary: Together.ai
const togetherAI = {
  model: "black-forest-labs/FLUX.1-schnell",
  width: 1024,
  height: 1024,
  steps: 4
};

// Fallback: Replicate
const replicate = {
  model: "black-forest-labs/flux-schnell",
  aspect_ratio: "1:1",
  output_quality: 100
};

Token Analysis AI

const analyzeTokenWithAI = async (tokenData, question, onchainData) => {
  // Comprehensive analysis including:
  // - Market metrics evaluation
  // - Risk assessment
  // - Community analysis
  // - Technical indicators
  // - Investment recommendations
  
  return {
    analysis: "Detailed AI-generated analysis",
    confidence: "High/Medium/Low",
    recommendations: ["Specific actionable insights"]
  };
};

Onchain Data Integration

Real-time blockchain data fetching:

const onchainData = {
  liquidity: {
    formatted: "1.23 ETH",
    usdcDecimal: 3690.45
  },
  ownersCount: 156,
  transfersCount: 1250,
  poolData: { /* Pool-specific metrics */ }
};

Comments System

Enhanced community features:

  • Real-time comment loading with pagination
  • User profile integration with avatars
  • Reply count display
  • Timestamp formatting
  • Load more functionality

๐Ÿš€ Token Creation Process

  1. START MISSION: Begin your token creation journey
  2. DESCRIBE YOUR IDEA: Choose a category and purpose for your token
  3. AI GENERATES DETAILS: Get AI-suggested name, symbol, and description
  4. CREATE PIXEL ART: Generate a unique retro image for your token
  5. MINT YOUR TOKEN: Deploy to the blockchain with customizable settings
    • Set initial purchase amount (percentage or custom ETH)
    • Add co-owners (optional)
    • Connect wallet and finalize creation

๐ŸŽจ Retro Design System

  • Perspective Grid Backgrounds: 3D-style animated grids reminiscent of 80s sci-fi
  • CRT Screen Effects: Scanlines and subtle flicker effects
  • Pixel Art Components: Pixelated imagery and UI elements
  • Neon Glow Effects: Text with neon-style glow effects
  • Retro Typography: Using pixel-perfect fonts like "Press Start 2P"
  • Score Visualization: Color-coded rating system (Green/Yellow/Orange/Red)
  • Loading Animations: Retro-style loading indicators

๐Ÿ”„ API Architecture & Reliability

Service Reliability Strategy

// Multi-provider fallback system
const imageGeneration = {
  primary: "Stability AI",      // High quality, reliable
  secondary: "Together.ai",     // Fast, good quality
  fallback: "Replicate",       // Backup option
  
  // Auto-failover on errors
  retryLogic: "Exponential backoff with circuit breaker"
};

Data Sources

  • Zora API: Token details, market data, comments
  • Onchain Data: Direct blockchain queries via Viem
  • CoinGecko: ETH price for USD conversions
  • Custom Analytics: Score calculation and risk assessment

Created with โค๏ธ for the Farcaster community.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published