Skip to content

sqrlwallet/cryptomarketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ripework - Digital Marketplace

🎯 Project Overview

Ripework is a premium digital marketplace for buying and selling crypto assets with secure payments on Base Mainnet using USDC.

✨ Key Features

πŸ” Authentication & User Management

  • Email/password authentication via Supabase
  • User profiles with customizable usernames and bios
  • Wallet integration for crypto payments
  • Public profile pages for sellers

πŸ’° Payment System

  • Blockchain: Base Mainnet (Chain ID: 8453)
  • Currency: USDC only
  • Platform Fee: 10% per transaction
  • Payment Flow:
    • 10% to platform wallet: 0x8D9CA82052e90eEd4eC2D8a8f5d489A518a8F9e4
    • 90% directly to seller's wallet
  • Automatic chain switching if user is on wrong network

πŸ›οΈ Marketplace Features

  • Browse products and services
  • Search and filter functionality
  • Product categories (Products/Services)
  • Tag-based organization
  • Product images and descriptions
  • Unique shareable links for each product

πŸ‘€ Seller Dashboard

  • Create and manage product listings
  • Upload product images
  • Attach digital files for delivery
  • Set custom prices in USDC
  • Track sales and inventory
  • Generate unique product links

πŸ“¦ Buyer Features

  • Purchase digital products with crypto
  • Access purchased items in "My Purchases"
  • Download digital files after purchase
  • Transaction history with blockchain links

πŸ“Š Transaction Management

  • Complete transaction history
  • Filter by purchases/sales
  • View platform fees and seller amounts
  • Direct links to Basescan for verification
  • Real-time balance tracking

🎨 Design System

  • Style: Neo-brutalism with terminal/retro aesthetic
  • Colors:
    • Background: Black (#000000)
    • Borders: White (#FFFFFF)
    • Primary Accent: Neon Lime (#00ff00)
    • Secondary Accent: Cyan (#00ffff)
  • Typography: Monospace fonts for terminal feel
  • Effects: Sharp borders, high contrast, glassmorphism accents

πŸ”§ Technical Stack

Frontend

  • Framework: React 18 with TypeScript
  • Build Tool: Vite
  • Styling: Tailwind CSS
  • Routing: Client-side navigation
  • SEO: React Helmet Async for dynamic meta tags

Backend

  • Database: Supabase (PostgreSQL)
  • Authentication: Supabase Auth
  • Storage: Supabase Storage for images and files
  • Blockchain: Web3 integration for Base network

Key Dependencies

  • @supabase/supabase-js - Backend services
  • react-helmet-async - SEO management
  • lucide-react - Icon library
  • tailwindcss - Styling framework

πŸ“ Project Structure

cryptomarketplace/
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ logo.png          # Ripework logo
β”‚   └── favicon.png       # Ripework favicon
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Auth.tsx              # Login/Signup
β”‚   β”‚   β”œβ”€β”€ Marketplace.tsx       # Main marketplace
β”‚   β”‚   β”œβ”€β”€ ProductPage.tsx       # Product details
β”‚   β”‚   β”œβ”€β”€ SellerDashboard.tsx   # Seller management
β”‚   β”‚   β”œβ”€β”€ MyPurchases.tsx       # Buyer purchases
β”‚   β”‚   β”œβ”€β”€ Transactions.tsx      # Transaction history
β”‚   β”‚   β”œβ”€β”€ Profile.tsx           # User settings
β”‚   β”‚   β”œβ”€β”€ UserProfilePage.tsx   # Public profiles
β”‚   β”‚   β”œβ”€β”€ Navbar.tsx            # Navigation
β”‚   β”‚   β”œβ”€β”€ SEO.tsx               # SEO component
β”‚   β”‚   β”œβ”€β”€ PaymentModal.tsx      # Checkout flow
β”‚   β”‚   β”œβ”€β”€ CreateProductModal.tsx # Product creation
β”‚   β”‚   └── FileUpload.tsx        # File management
β”‚   β”œβ”€β”€ contexts/
β”‚   β”‚   β”œβ”€β”€ AuthContext.tsx       # Auth state
β”‚   β”‚   └── WalletContext.tsx     # Wallet state
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ supabase.ts           # Supabase client
β”‚   β”‚   └── currencies.ts         # Currency config
β”‚   β”œβ”€β”€ App.tsx                   # Main app
β”‚   └── main.tsx                  # Entry point
β”œβ”€β”€ index.html
β”œβ”€β”€ package.json
└── tailwind.config.js

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • Supabase account
  • MetaMask or compatible Web3 wallet

Environment Variables

Create a .env file:

VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

Installation

npm install

Development

npm run dev

Build

npm run build

Type Check

npm run typecheck

πŸ—„οΈ Database Schema

Tables

  • profiles - User profiles and settings
  • products - Product listings
  • transactions - Payment records
  • purchase_access - Buyer access to products
  • product_files - Digital file attachments

Storage Buckets

  • product-images - Product thumbnails
  • product-files - Digital deliverables

πŸ”’ Security Features

  • Row Level Security (RLS) on all tables
  • Secure file access based on purchase
  • Wallet signature verification
  • Transaction hash recording
  • Platform fee enforcement

🎯 SEO Optimization

  • Dynamic meta tags per page
  • Open Graph tags for social sharing
  • Twitter Card support
  • Semantic HTML structure
  • Unique page titles

πŸ“± Responsive Design

  • Mobile-first approach
  • Tablet and desktop optimized
  • Touch-friendly interfaces
  • Adaptive layouts

πŸ”— Key URLs

  • Marketplace: /
  • Product: /?product={unique_link}
  • User Profile: /{username}
  • Seller Dashboard: /seller-dashboard
  • My Purchases: /my-purchases
  • Transactions: /transactions
  • Profile Settings: /profile

πŸ’‘ Future Enhancements

  • Multi-currency support (ETH, other stablecoins)
  • NFT integration
  • Escrow system for services
  • Review and rating system
  • Advanced analytics dashboard
  • Mobile app (React Native)
  • API for third-party integrations

πŸ“„ License

All rights reserved.

🀝 Support

For support, please contact the Ripework team.


Ripework - Premium Digital Marketplace on Base Mainnet

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors