Skip to content

Latest commit

Β 

History

History
105 lines (78 loc) Β· 2.97 KB

File metadata and controls

105 lines (78 loc) Β· 2.97 KB

@mosaic/ui

Web interface for managing Token-2022 tokens with extensions.

Purpose

A beautiful and modern web application for creating and managing Token-2022 tokens:

  • 🎨 Modern UI: Beautiful, responsive interface built with best UX practices
  • πŸͺ™ Token Creation: Visual workflow for creating stablecoins and arcade tokens
  • πŸ”§ Token Management: User-friendly token management interface
  • πŸ“‹ SRFC Management: Visual management of allowlists and blocklists
  • πŸ”— Wallet Integration: Seamless Solana wallet connectivity

Features

Token Creation Wizard

  • Step-by-step token creation process
  • Template selection (Stablecoin vs Arcade Token)
  • Extension configuration with visual guides
  • Real-time preview of token properties

Token Management Dashboard

  • Overview of all created tokens
  • Token balance and supply information
  • Extension status indicators
  • Quick actions for common operations

SRFC List Management

  • Visual allowlist/blocklist editor
  • Batch address management
  • Import/export functionality
  • Search and filter capabilities

Wallet Integration

  • Support for popular Solana wallets
  • Connection status indicators
  • Transaction history
  • Account switching

Planned Tech Stack

Frontend Framework

  • React 18 with TypeScript
  • Next.js 14 for SSR and routing
  • Tailwind CSS for styling
  • Framer Motion for animations

Solana Integration

  • @solana/wallet-adapter for wallet connectivity
  • @solana/web3.js for blockchain interactions
  • @mosaic/sdk for token operations

UI Components

  • ShadCN UI for accessible components
  • Lucide React for icons
  • React Hook Form for form management
  • Zod for validation

Architecture

ui/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/             # Next.js app directory
β”‚   β”‚   β”œβ”€β”€ dashboard/   # Main dashboard
β”‚   β”‚   β”‚   β”œβ”€β”€ create/  # Token creation pages
β”‚   β”‚   β”‚   └── manage/  # Token management pages
β”‚   β”‚   └── globals.css  # Global styles
β”‚   β”œβ”€β”€ components/      # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ ui/         # Base UI components
β”‚   β”‚   β”œβ”€β”€ forms/      # Form components
β”‚   β”‚   └── layout/     # Layout components
β”‚   β”œβ”€β”€ hooks/          # Custom React hooks
β”‚   β”œβ”€β”€ lib/            # Utility functions
β”‚   └── types/          # TypeScript types
β”œβ”€β”€ public/             # Static assets
└── styles/             # Global styles

Dependencies

  • @mosaic/sdk - Token templates and functionality
  • next - React framework
  • react & react-dom - React library
  • @solana/wallet-adapter-* - Wallet integration
  • tailwindcss - CSS framework
  • @radix-ui/react-* - UI components

Development Status

⚠️ Planned - This web application will provide:

  • Intuitive token creation workflows
  • Comprehensive token management interface
  • Beautiful, responsive design
  • Seamless wallet integration
  • Real-time transaction feedback