What it does

Transportation and traffic are a very serious global cities problem, and high carbon emissions are one of the most important factors that increase global warming due to the increasing number of vehicles. To solve these problems, it is important to encourage people to use 0 carbon emission transportation vehicles. This dApp project allows people to securely rent their bikes to other people without giving any credential or identity informations, and other people to rent and use these bikes.

P2P Bike Rent provides an opportunity for users to rent bikes without providing any personal data. It also allows people to share their bikes and earn money. Lastly, it allows people to earn extra income by joining the Validator Network and Verify2Earn. The cool side of this project is that this model can be implemented further than bicycles. It also doesn’t provide location restraints. One global app! The more users we have, the less “rent” apps you will need on your phone in different countries.

How we built it

We completed the initial idea (v.0.0.1) on the smart-contract side. The workflow and the vision of what the website might look like was implemented in the website frontend app. For now, only half of the frontend interacts with the blockchain. Smart contracts are deployed on the rinkeby testnet. No token was created, stablecoin such as DAI will be used for VDAO awards and payments.

Challenges we ran into

Probably the greatest challenge was to understand how to provide safety for those who are going to rent their bikes. VDAO, Dynamic QR codes, Bike Kit, Stake Pool were created solely for this purpose. These tools allow you to securely leave your bicycle to the web3 and earn money on the side.

Secondly, we lacked experience in connecting frontend to smart-contracts. This took time and therefore not every function was displayed. To solve this, parts of the website used the static json data for tutorial/tour purposes.

Lastly, writing code without sleeping 48 hours and trying to manage time properly were the two biggest challenges we faced. But that’s what drives us and makes us come back to the hackathons, innit?

Accomplishments that we're proud of

Our system (Verifier DAO) that ensures that the owner's bike will not get any damage is a unique solution. Our method does not reveal and require user and owner identities. Our random verifier selection system is a very effective solution thanks to the Lehmer random number generator and mathematics of coprime numbers. It selects verifiers in O(n) according to the selected constant verifier number per a verification request and it is independent from the active verificator number. In our example, it will select verifiers in just 3 loops whether there are 10 active verifiers or 100000 active verifiers. Our system does not require the owner to execute any methods or sign operations. After setting the state of their bicycles available they do automatically get their payments. Also, our system does not trust every verifier to respond and because of that system automatically terminates the verification part and executes deposit payment and verification rewards and punishments automatically after given verification time thanks to integrated Chainlink Keepers technology.

What we learned

We realized Chainlink Keepers is a system that might be used in lots of project concepts. It makes sure that persistent solidity codes are possible.

What's next for P2P-Bike-Rent

Rentee: -Loyalites/Perks:The amount of deposit paid by those who do not damage the bicycles they use for a certain period of time will be reduced. -If there is moderate damage to the bike, you will still not have to give the full deposit (the VDAO system will be developed).

VDAO: Approvers will see four options: no damage, slight, medium and heavy damage, depending on the voting results, the amount of deposit sent to the bike owner will gradually increase. Mobile App: Must have feature before deploying to mainnet.

Return for an award/discount: If the rentor wants the bike returned to a specific location, there can be a discount/free ride for the user who will voluntarily return the bike.

Built With

+ 8 more
Share this project:

Updates