hackquest logo

Metacow U2U

MetaCow is a social DeFi platform where users swap tokens, earn from liquidity, build reputation scores, share trades

Videos

Description

MetaCow DEX — Social DeFi Trading with Identity and Rewards

Overview

MetaCowDEX is a decentralized exchange that combines token swaps, liquidity provisioning, and social trading into a unified on-chain identity experience. Built for modern DeFi users, it enables trading, earning, following, and building a wallet-based reputation—all in one platform.

Deploying with: 0xF8A440f0c3912F42dF794983B8164cB6572fCBCC

Pair logic deployed at: 0x1e792D4c34c3d04Bd127aFEf0c1696E912c755aa

Factory proxy deployed at: 0x2A07A0013877e3bcCDd42Da8171457B0B54EB54d


Problem Statement

Most decentralized exchanges are functional but lack identity, social interaction, and discoverability. DeFi traders remain anonymous, and there's no way to showcase reputation or learn from others. MetaCowDEX addresses this by introducing wallet-based identity, copy trading, and an interactive social feed to bring visibility and connection into DeFi.


What We Built

MetaCowDEX is more than a traditional DEX. It’s a social-finance platform designed to give users a voice, reputation, and identity based on their on-chain actions.


Core Features

  • Token Swapping: Swap any supported ERC-20 pair with estimated output preview

  • Liquidity Provision: Add/remove LP and claim earned swap fees

  • Copy Trading: One-click replication of top wallet swaps

  • Social Feed: Share trades, follow users, and build community insight

  • Reputation System: Score based on LP volume, swap activity, and social engagement

  • Faucet: Claim test tokens and auto-import to MetaMask


Integration Highlights

  • MetaMask SDK: Secure wallet connection and transaction signing

  • ERC-20 Support: Full compatibility on BNB Testnet

  • Upgradeable Contracts: Built using OpenZeppelin’s Transparent Proxy pattern


Real-World Use Cases

Use Case

Implementation

Wallet-linked identity

Profiles with bio, avatar, and transaction history

Token utility

Full ERC-20 swap and liquidity integration

Passive DeFi rewards

LP tokens earn swap fees, claimable on UI

Copy-trading

One-click replication from public wallet actions

Social discovery

Follow wallets, view feed, interact with posts


Architecture Overview

  • Frontend: React, TailwindCSS, Framer Motion, Ethers.js, MetaMask SDK

  • Backend: Node.js, Express, MongoDB, Alchemy SDK

  • Smart Contracts: Solidity, Hardhat, OpenZeppelin (Upgradeable Proxy)

  • DevOps: Vercel (frontend), Render (backend), GitHub Actions

  • Other Tools: Cloudinary (image upload), Draco (3D model compression)


Project Directory Structure

/backend → Express API with auth, swap, LP, profile logic /contracts → Hardhat project with Factory, Pair, ERC20 tokens /frontend → React app with routing, wallet context, UI pages

Security & Performance

  • MetaMask SDK ensures safe wallet interaction

  • Upgradeable smart contracts for long-term flexibility

  • Cloudinary and Draco for optimized asset loading

  • User-friendly toast messages and error handling


Design Choices

  • Real-time charts with auto-update on trades

  • Fully responsive mobile-first UI

  • On-chain social graph tied to wallets

  • Unique 3D MetaCow mascot on homepage


User Validation

We shared MetaCowDEX with a few DeFi users and builders. The Copy Trade feature was highly appreciated for making learning easy. Faucet integration and the automatic MetaMask import made onboarding smooth. Reputation scores were seen as a fun and competitive incentive to stay active.


Screenshots

Team

  • Dhruv Pancholi

  • Suhani Sharma

Conclusion

MetaCowDEX blends trading, identity, and social connection into one DeFi platform. It’s designed to make DeFi more transparent, human, and rewarding — helping users not only trade, but also grow, learn, and build their reputation on-chain.

Progress During Hackathon

100

Tech Stack

React
Ethers
Solidity
Web3
Node

Fundraising Status

0

Team Leader
DDHRUV PANCHOLI
Sector
DeFi