Skip to content
This repository has been archived by the owner. It is now read-only.
EOSIO Smart Contract Framework for making a decentralised Uber/Taxi service.
Branch: master
Clone or download
James William Fletcher
James William Fletcher Update
Latest commit 3bbc800 Oct 10, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
Build/Nodeos 1.3.1 Initial Commit Oct 9, 2018
SampleWebGlu Initial Commit Oct 9, 2018 Update Oct 10, 2018
eosuber.cpp Update eosuber.cpp Oct 9, 2018

This is a framework for making decentralised Uber/Taxi services on the EOSIO platform. Using the EOSIO CDT for developing Smart Contracts.

You can find drivers and reviews of drivers for free, anonymously.

  • findtaxi(user_lat, user_lon)
  • findreview(driver)

You can apply to be a driver or update your record (at your own ram cost)

  • createdriver(driver, driver_name, driver_phone, driver_base_lat, driver_base_lon, driver_travel_radius_km)
  • updatedriver(driver, driver_name, driver_phone, driver_base_lat, driver_base_lon, driver_travel_radius_km)

You can create a review or update your review (at your own ram cost)

  • createreview(owner, driver, review_title, review_body, score)
  • updatereview(owner, driver, review_title, review_body, score)

/SampleWebGlu : This directory contains examples of using Google Maps maplaces.js plugin to extract lat/lon coordinates and a radius in km from google maps (to be used by drivers) and using HTML5/JS to request a users current lat/lon position from their mobile phone (to be used by users).

:: Compile

eosio-cpp eosuber.cpp -o eosuber.wasm --abigen

:: Notes

Some basic cell-space-partitioning would go a long way in the findtaxi() function.

You can’t perform that action at this time.