pmiklos / orider Goto Github PK
View Code? Open in Web Editor NEWORider - carpooling for the Obyte platform
Home Page: https://orider.obyte.app
License: MIT License
ORider - carpooling for the Obyte platform
Home Page: https://orider.obyte.app
License: MIT License
On payment received save the payment unit on reservations.
On payment confirmed set paid or failed status. Failed if there was a double spend (sequence=bad)
Currently only drivers can post a ride and passengers book a ride. However, it would make sense for passengers to post rides they are looking for so people with car might consider sharing their car if they happen to have some business on the posted route and around the indicated time.
The login screen offers 3 ways of logging in. It may be confusing for the user what to do, so make these options available on devices where it makes sense:
Rides can be auto-completed by tracking the driver's device location and comparing it to the drop-off coordinates. The driver should still have the option for manual completion in case the automated arrival detection wouldn't work. Ideally the auto-completion process could be canceled by the driver:
Allow drivers to enter vehicle information so passengers can find the car.
Show vehicle info on reservations screen so passengers can see what car they should be looking for.
Currently passengers can make a reservation with a click of a button. It is not possible, however, to cancel the reservation.
Let users add their real names using the attested profile. Also, allow people to verify if they have a drivers license by requesting the id_type
and checking if it is DRIVING_LICENCE
and so earn a "verified driver" badge.
Allow passengers send message to drivers and vice versa. Both the driver and the passenger are paired with the ORider bot so the bot can dispatch messasges between them without any additional pairing.
The carpool contract is relatively big and it costs about 1500 bytes when spending the funds from the contract due to the inclusion of the contract definition. The introduction of definition template would greatly reduce the costs since it the actual contract would only refer to the template hash and the actual parameters.
The template has 4 parameters:
The carpool oracle address and payout processor address are relatively stable and not expected to change, so they could be hard-coded into the template to further save cost.
Try some ways to keep the screen on while driving so location tracking would be continuous and so trip auto-completion would actually kick in automatically.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.