Skip to content

cdogmx/icanhazcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

IcanHaz Coin DeFi Platform πŸ±πŸ’°

A comprehensive DeFi platform built with modern React, featuring advanced trading tools, governance systems, and meme culture integration.

πŸš€ Features

🏦 DeFi Trading & Finance

  • Token Swap - Seamless token trading with DEX integration
  • Quick Buy - One-click token purchases
  • Price Charts - Real-time price tracking with advanced charts
  • Token Stats - Comprehensive token analytics and metrics
  • Staking Calculator - APY calculations and staking rewards
  • Burn Tracker - Token burn statistics and tracking

🎨 Meme & Social Features

  • Meme Generator - Create and share custom memes
  • Social Integration - Share memes and achievements
  • Community Features - User engagement tools

πŸ—³οΈ Governance & DAO

  • Governance Voting - DAO voting system with proposals
  • Community Proposals - Submit and vote on platform changes
  • Transparent Governance - All decisions visible on-chain

πŸ” Wallet & Security

  • Wallet Connect - Multi-wallet support (MetaMask, WalletConnect, etc.)
  • Secure Transactions - Built-in security features
  • Transaction History - Complete transaction tracking

πŸ› οΈ Tech Stack

  • Frontend: React 18 + Vite
  • Styling: Tailwind CSS + Shadcn/ui
  • Charts: Recharts + Custom chart components
  • State Management: React Hooks + Context
  • Wallet Integration: Web3 + Ethers.js
  • Build Tool: Vite
  • Package Manager: npm

πŸ“ Project Structure

ichc/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ ui/                    # Shadcn/ui components (50+ components)
β”‚   β”‚   β”‚   β”œβ”€β”€ accordion.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ alert.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ button.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ card.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ chart.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ dialog.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ dropdown-menu.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ form.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ input.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ navigation-menu.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ sidebar.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ table.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ tabs.jsx
β”‚   β”‚   β”‚   └── ... (40+ more components)
β”‚   β”‚   β”œβ”€β”€ BurnTracker.jsx        # Token burn tracking
β”‚   β”‚   β”œβ”€β”€ GovernanceVoting.jsx   # DAO voting system
β”‚   β”‚   β”œβ”€β”€ MemeGenerator.jsx      # Meme creation tool
β”‚   β”‚   β”œβ”€β”€ PriceChart.jsx         # Price charts and analytics
β”‚   β”‚   β”œβ”€β”€ QuickBuy.jsx           # One-click token purchase
β”‚   β”‚   β”œβ”€β”€ StakingCalculator.jsx  # Staking rewards calculator
β”‚   β”‚   β”œβ”€β”€ TokenStats.jsx         # Token statistics
β”‚   β”‚   β”œβ”€β”€ TokenSwap.jsx          # DEX token swapping
β”‚   β”‚   β”œβ”€β”€ WalletConnect.jsx      # Wallet connection
β”‚   β”‚   └── Whitepaper.jsx         # Project documentation
β”‚   β”œβ”€β”€ hooks/                     # Custom React hooks
β”‚   β”œβ”€β”€ lib/                       # Utility libraries
β”‚   β”œβ”€β”€ assets/                    # Images and static assets
β”‚   β”œβ”€β”€ App.jsx                    # Main application component
β”‚   β”œβ”€β”€ App.css                    # Application styles
β”‚   β”œβ”€β”€ main.jsx                   # React entry point
β”‚   └── index.css                  # Global styles
β”œβ”€β”€ dist/                          # Build output
β”œβ”€β”€ index.html                     # HTML entry point
β”œβ”€β”€ package.json                   # Dependencies and scripts
β”œβ”€β”€ vite.config.js                 # Vite configuration
β”œβ”€β”€ tailwind.config.js             # Tailwind CSS configuration
β”œβ”€β”€ postcss.config.js              # PostCSS configuration
β”œβ”€β”€ .gitignore                     # Git ignore rules
└── README.md                      # This file

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Modern web browser with wallet extension (MetaMask recommended)

Installation

  1. Clone the repository

    git clone https://github.com/cdogmx/icanhazcoin.git
    cd icanhazcoin
  2. Install dependencies

    npm install
  3. Start development server

    npm run dev
  4. Open your browser Navigate to http://localhost:5173

πŸ“± Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Run ESLint
  • npm run lint:fix - Fix ESLint issues

🎯 Key Components

Trading & Finance

  • TokenSwap: Advanced DEX integration with slippage protection
  • QuickBuy: Streamlined token purchase experience
  • PriceChart: Real-time price data with multiple timeframes
  • TokenStats: Comprehensive token metrics and analytics
  • StakingCalculator: APY calculations and staking management
  • BurnTracker: Token burn statistics and tracking

Governance & Community

  • GovernanceVoting: Complete DAO voting system
  • Whitepaper: Interactive project documentation
  • MemeGenerator: Community meme creation tool

User Experience

  • WalletConnect: Multi-wallet support
  • Sidebar: Navigation and user interface
  • UI Components: 50+ reusable components

🎨 Design System

Built with Shadcn/ui and Tailwind CSS:

  • Consistent Design: Unified component library
  • Dark/Light Mode: Theme support
  • Responsive: Mobile-first design
  • Accessible: WCAG 2.1 compliant
  • Customizable: Easy theming and customization

πŸ”§ Configuration

Environment Variables

Create a .env file in the root directory:

VITE_APP_NAME=IcanHaz Coin
VITE_APP_DESCRIPTION=The original meme coin for the meme generation
VITE_RPC_URL=your_rpc_url_here
VITE_CHAIN_ID=1

Tailwind Configuration

Customize colors, fonts, and spacing in tailwind.config.js

Vite Configuration

Modify build settings in vite.config.js

πŸš€ Deployment

Vercel (Recommended)

  1. Connect your GitHub repository to Vercel
  2. Deploy automatically on push to main branch

Netlify

  1. Build the project: npm run build
  2. Deploy the dist folder to Netlify

Manual Deployment

  1. Build: npm run build
  2. Upload dist folder to your web server

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ› Support

πŸŽ‰ Acknowledgments

  • Shadcn/ui for the amazing component library
  • Tailwind CSS for the utility-first CSS framework
  • Vite for the fast build tool
  • React for the amazing framework
  • The meme community for the inspiration

IcanHaz Coin - The original meme coin for the meme generation πŸ±πŸ’°

Built with ❀️ and lots of memes

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published