D

Dundo

A Delivery Service on the Blockchain modeled along the lines of Dunzo

Created on 6th September 2020

D

Dundo

A Delivery Service on the Blockchain modeled along the lines of Dunzo

The problem Dundo solves

Use Dundo to get your groceries, food delivery to your office, sending art work to clients, retrieving important documents you left at home, transporting small goods from one part of the city to another or sending your grandmother a birthday present.

Delivery takes place peer to peer, eliminating the middle man, lowering the payment fees for the client and raising the earnings for the delivery partner. User data is not centralised, protecting privacy. Trust is maintained through security deposits and ratings.

Further description: https://github.com/shubhsnow/Dundo/blob/master/Dundo.pdf

Challenges we ran into

As a two member team, one of us worked on the frontend react app and the other wrote the contracts.
Later, we combined the two and started debugging. The integration of frontend and backend remains incomplete.
We integrated Portis to allow users to create their own wallets through the familiar email signup.
IPFS is used to store the clients pickup address and pickup instructions. This risks the clients personal address being permanantly available on the web.
Google maps api are used to help the customer locate the pickup and drop locations.

Difficulties faced:

  • Unable to send ipfs address to contract(Base58 to hex conversion, saving in bytes32 variable not working)
  • Had to replace string with bytes32 in contract due to infinite gas errors
  • Limited familiarity with React. Mostly worked with Django in other projects.
  • Clickable Prototype functional, with bugs remaining to resolve. Particularly with placing an order, viewing status and security deposits.
  • Didn't deploy to Matic due to incomplete testing on local ganache chain. tried to faucet matic tokens, but didn't take it forward.
  • When to use Storage vs. Memory pointers in the smart contract

Going forward(frontend):

  • Integrate all the contract calls with frontend
  • Add customer ratings and reviews
  • Replace manual entering of latitude and longitude to automatic detection through google maps.
  • Deploy to Matic Mumbai testnet

Going forward(backend):

  • An Oracle to get the distance between two points directly from google maps
  • Gas optimization
  • Handling of item fee on the platform, rather than the current model which uses cash
  • Better algorithm for assignment of deliveries

Discussion

Builders also viewed

See more projects on Devfolio