Skip to content

All-in-one Web3-powered tech collaboration platform: freelancing gigs, event management, and real-time community chat.

License

Notifications You must be signed in to change notification settings

pri2405/W3nity

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

W3nity - Web3 + Unity

All-in-One Tech Collaboration Platform

Demo License PRs Welcome

Node.js Version Solidity Visitors

W3nity Logo

W3nity is a unified, Web3-enabled collaboration platform that brings together:

  • Freelancing Marketplace
  • Event Management
  • Real-Time Community Chat

W3nity is a unified, Web3-enabled collaboration platform that brings together:

  • Freelancing Marketplace
  • Event Management
  • Real-Time Community Chat

๐Ÿ”’ Security Features

  • Smart Contract Security

    • OpenZeppelin secure base contracts
    • Comprehensive test coverage
    • External audit planned
  • Web Security

    • JWT authentication
    • Rate limiting
    • Input validation
    • CORS protection
  • Data Privacy

    • Encrypted storage
    • Secure key management
    • Regular backups

โšก Performance

  • Frontend Optimization

    • Code splitting
    • Lazy loading
    • Asset optimization
    • Caching strategies
  • Backend Efficiency

    • Database indexing
    • Query optimization
    • Load balancing ready
    • Caching layers
  • Blockchain Integration

    • Optimized gas usage
    • Batch transactions
    • Event listeners
    • Fallback providers

W3nity lets startups, developers, and communities connect, collaborate, and transact seamlessly โ€” on-chain or off-chain.


Table of Contents

  1. Key Features
  2. Tech Stack
  3. Architecture
  4. Prerequisites
  5. Getting Started
  6. Usage & Demo
  7. Roadmap
  8. Contributing
  9. License

Key Features

Module Description
Freelancing โ€ข Post & browse gigs
โ€ข Submit proposals & track status
โ€ข On-chain escrow smart contract
Event Management โ€ข Create/manage events
โ€ข Register & mint NFT tickets
โ€ข Admin dashboard & reminders
Community Chat โ€ข Public & private channels
โ€ข 1:1 direct messaging
โ€ข Media sharing & history
Web3 Integration โ€ข MetaMask wallet login
โ€ข Escrow.sol for payments
โ€ข ERC-721 minting for tickets

Tech Stack

  • Frontend
    • React + Typescript + Tailwind CSS
    • Framer Motion for animations
  • Backend
    • Node.js + Express
    • MongoDB (Mongoose) for database
  • Real-Time
    • Socket.IO (WebSockets) for community chat
  • Blockchain
    • Solidity & Hardhat (local/testnet)
    • Alchemy
    • Ethers.js / Wagmi + MetaMask
  • Storage & Media
    • Cloudinary [Planned]
  • Deployment
    • Vercel (frontend) & Render (backend)

Architecture

architectureee


System Components

  • Frontend: React SPA with TypeScript and Tailwind CSS
  • Backend: RESTful API with Express, real-time WebSocket server
  • Database: MongoDB for user data, events, and transactions
  • Blockchain: Smart contracts for tickets and payments
  • Storage: IPFS for decentralized content storage

๐Ÿ“‹ Prerequisites

  • Node.js >= 14.0.0
  • npm >= 6.14.0
  • MongoDB >= 4.4
  • MetaMask wallet
  • Git

Getting Started

  1. Clone the repo
    git clone https://github.com/yourusername/W3nity.git
    cd W3nity
  2. Install dependencies
     #Client
     cd client && npm install
    
     # Server
     cd ../server && npm install
  3. Configure environment
    • Copy example.env to .env in both root dir, client/ and server/
    • Set your MongoDB URI , MetaMask RPC endpoint, AWS/Cloudinary keys, etc.
  # --- Server ---
  PORT= 8080
  MONGO_URI="your MongoDb URI"
  JWT_SECRET="your JWT secret"
  SEPOLIA_RPC_URL="your sepolia url"
  NFT_CONTRACT_ADDRESS="your contract address"
  STRIPE_SECRET_KEY="your stripe secret key"
  CLIENT_URL="your frontend ur"
  
  # --- Client ---
  VITE_API_URL="your backend URL"
  
  # --- Root Folder ---
  SEPOLIA_RPC_URL="your sepolia url"
  PRIVATE_KEY="your escrow id"
  MONGO_URI="your MongoDb URI"
  NFT_CONTRACT_ADDRESS="your contract address"

โš ๏ธ Security Notes:

  • Never commit .env files to version control
  • Use strong secrets for JWT_SECRET
  • Keep your private keys secure
  • Use test API keys for development
  1. Run locally

     # Run backend
     cd server && npm run dev
    
     # Run frontend
     cd ../client && npm run dev
    
    #Run mint Listeners 
    npx tsx events/listenMintEvents.ts
  2. (Optional) Deploy smart contracts

     cd smart-contracts
     npx hardhat run scripts/deploy.js --network localhost

Usage & Demo

Demo Video

w3nity.video.1.mp4

Screenshots

Onboarding Page
Onboarding
Wallet Connect & MetaMask Auth
Dashboard
Dashboard
Your Gateway to Freelance, Events, and Chat
Freelance Marketplace
Freelancing
Post Gigs, Submit Proposals, Escrow ETH
Event Management
Events
Create Events & Mint NFT Tickets
Community Chat
Community
Real-time Global & Private Chat
Profile Page
Profile
Track Proposals, Projects & Tickets

User Flows

Freelance Flow

  1. Connect MetaMask
  2. Post Gig
  3. Submit Proposal
  4. Deposit ETH in Escrow
  5. Deliver Work & Release Payment

Event Flow

  1. Create Event
  2. Register
  3. Mint NFT Ticket
  4. View/Manage Attendees

Chat Flow

  1. Join Public/Private Channels
  2. Send Messages
  3. Share Files & Media

๐Ÿ›ฃ๏ธ Roadmap

Phase 1: Core Platform (Completed โœ…)

  • โœ… Web3 login with MetaMask integration
  • โœ… Freelance marketplace with escrow
  • โœ… Event management with NFT ticketing
  • โœ… Real-time community chat

Phase 2: Enhanced Features (In Progress ๐Ÿš€)

  • ๐Ÿ—๏ธ User profiles and reputation system
  • ๐Ÿ—๏ธ Advanced search and filtering
  • ๐Ÿ—๏ธ Admin analytics dashboard
  • ๐Ÿ—๏ธ Fast payments (Stripe/Razorpay)

Phase 3: Future Expansion (Planned ๐Ÿ“‹)

  • ๐Ÿ“… AI-powered gig recommendations
  • ๐Ÿ“… Mobile-responsive & PWA support
  • ๐Ÿ“… Multi-chain support
  • ๐Ÿ“… DAO governance implementation

Phase 4: Platform Scale (Upcoming ๐Ÿ”ฎ)

  • ๐ŸŽฏ Enhanced security features
  • ๐ŸŽฏ Performance optimizations
  • ๐ŸŽฏ Advanced analytics
  • ๐ŸŽฏ Community governance

Contributing

Please follow the Code of Conducts and Learn.md documentations properly. We welcome bug reports, feature requests, and pull requests!

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

๐Ÿ“„ License

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

๐Ÿ“ซ Contact & Support

  • Issues: Use GitHub Issues for bugs and feature requests
  • Discussions: Join project discussions on GitHub

๐Ÿ™ Acknowledgments

About

All-in-one Web3-powered tech collaboration platform: freelancing gigs, event management, and real-time community chat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 85.3%
  • JavaScript 13.0%
  • Other 1.7%