vinsonly / Savour

A Decentralized food-sharing platform, built with MongoDB, ExpressJS, ReactJS, and Ethereum Smart Contracts
https://savour.vinsonly.me
1 stars 2 forks source link

Integrate Ethereum #7

Open vinsonly opened 5 years ago

vinsonly commented 5 years ago
  1. Write Escrow contract to facilitate transactions
    • Contract is created by seller
    • Buyer deposits, and specifies time
    • Seller then accepts or declines, if accepted, the specified time is now in effect
    • Once buyer confirms the receipt of food, money is released to seller
    • If buyer doesn't pick up food, money is released to seller after 3 days
    • seller deposits security deposit when creating contract
    • must have a minimum of 0.5 eth in the security deposit
    • the full amount of the security deposit may not be withdrawn unless the contract is deleted

required:

functions:

  1. Instantiate Contract on the Test Network

  2. Test Smart Contract

  3. Integrate web app with web3 API

varunpareek690 commented 8 months ago