Skip to content

wannabehero/ethglobal-waterloo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zBay

The suite is deployed on Polygon Mumbai, Ethereum Goerli, and Gnosis Mainnet.

Main contracts are verified.

Deployment addresses

There are two main flows: Seller and Buyer.

Seller

Buyer

  • Buyers browse products using backend endpoint built on thegraph
  • Buyers can purchase the product they like buy paying its price + insurance deposit based on the reputation calculated using airstack
  • Buyers can communicate with the sellers about the product via XMTP
  • To prove the receipt of the shipment buyer should provide a proof of hash(secret + trackingNumber + account) to be verified on chain

Disputes

  • Any party can also dispute the transaction via UMA (example)

ZK Technologies

Frontend:

  • vite + react
  • rainbowkit + wagmi + viem
  • @chakra-ui for layout and UI

Backend:

Snap (not integrated, though implemented):

Smart Contracts:

  • hardhat + solidity
  • unit-tests to simplify development
  • UMA for Optimistic Oracle and dispute resolution