← Back to home

zBay

zBay revolutionizes online marketplaces by decentralizing eBay, empowering merchants and buyers. It enables seamless data and reputation import from eBay, secure escrow, XMTP chat, and transparent dispute resolution using the Uma optimistic oracle

Screenshots

zBay screenshot 1
zBay screenshot 2
zBay screenshot 3
zBay screenshot 4

Problem Statement

zBay - Democratizing Online MarketplaceszBay is a project aimed at revolutionizing the online marketplace industry by decentralizing and democratizing the existing eBay platform. Our mission is to empower merchants and buyers by removing intermediaries and providing a secure, transparent, and efficient marketplace for everyone to participate in. Motivated by eBay's staggering $10 billion in fees earned in 2022, we believe it's time to reshape the landscape of online commerce. To achieve this, we have implemented three key components within the zBay platform:Importing Data and Reputation: We recognize the value of established merchants on eBay and understand the importance of reputation in the online marketplace ecosystem. With our decentralized approach, we allow merchants to seamlessly import their existing data and reputation from eBay, ensuring a smooth transition for those who wish to leverage our decentralized marketplace. By preserving and transferring reputation, we aim to build trust among participants, enabling them to benefit from their established track records.Escrow Mechanism: Trust is fundamental to any successful online marketplace. To enhance trust and security, we have implemented an innovative escrow mechanism within zBay. This mechanism acts as a safeguard, ensuring that funds are securely held until both buyers and sellers have fulfilled their obligations. By incorporating this layer of protection, we aim to mitigate fraudulent activities and instill confidence in the decentralized marketplace. To ensure smooth and secure communication between buyer and seller, we have implemented XMTP chat around the product.Dispute Handling: Inevitably, disputes may arise during transactions. To address this challenge, we have integrated the Uma optimistic oracle framework into zBay’s infrastructure. This cutting-edge technology allows for efficient and fair dispute resolution by leveraging decentralized consensus and verifiable off-chain data. With Uma, we ensure that disputes are handled transparently and in a timely manner, promoting an equitable marketplace experience for all participants.Our vision for zBay is to empower merchants and buyers by providing them with greater control, reduced costs, and improved transparency compared to traditional centralized marketplaces. By democratizing eBay, we aim to foster a thriving ecosystem where participants can interact in a secure and trustless manner.

Solution

The suite is deployed on Polygon Mumbai, Ethereum Goerli, and Gnosis Mainnet. Main contracts are verified.SellerShould first verify their reputation with any of the two methods:By using Sismo Connect and submitting a proof of Gitcoin Passport score to be verified onBy using an eBay profile importer (via puppeteer) which uses zk-circuit to validate the reputation and verify proof on chainThen sellers can create products manually or via import from eBay (via apify)Product metadata is stored via web3.storage on ipfsAfter buyer purchases the product, seller dispatches the shipment and sends an attestation=`hash(secret + trackingNumber + buyerAddress) on chain to be verified via a the proof later by the buyerSeller can communicate with the buyer about the product and delivery via XMTPBuyerBuyers browse products using backend endpoint built on thegraph APIBuyers can purchase the product they like buy paying its price + insurance deposit based on the reputation calculated using airstackBuyers can communicate with the sellers about the product via XMTPTo prove the receipt of the shipment buyer should provide a proof of `hash(secret + trackingNumber + account) to be verified on chainDisputesAny party can also dispute the transaction via UMATechnologiesSismo for Proof of Gitcoin Passport scorezk-snarks for reputation: circom circuit + backend proof generation + on-chain proof verificationzk-snarks for attestation: circom circuit + backend proof generation + on-chain proof verificationFrontend:vite + reactrainbowkit + wagmi + viem@chakra-ui for layout and UIBackend:nest.jsApify to parse ebay product infopuppetter to parse ebay profilethegraph for smart contract dbairstack for reputation coefficientSnap (not integrated, though implemented):display reputation of the sellerSmart Contracts:hardhat + solidityunit-tests to simplify developmentUMA for Optimistic Oracle and dispute resolution

Hackathon

ETHGlobal Waterloo

2024

Prizes

  • 🏆

    🥇 Gnosis Chain — Best Use

  • 🏆

    🥇 Airstack — Best Use

  • 🏆

    8️⃣ FVM — Top 8

  • 🏆

    🏊‍♂️ UMA — Pool Prize

  • 🏆

    🔗 Sismo — Best Onchain App

  • 🏆

    🥈 The Graph — Best Use of Existing Subgraph

  • 🏆

    🥇 XMTP — Best Use

  • 🏆

    🏆 ETHGlobal Waterloo 2023 Finalist

Contributors