{"repo":"alejoacosta74/blockchain-bike-rental","free":true,"listed":false,"github":"https://github.com/alejoacosta74/blockchain-bike-rental","clone":"git clone https://github.com/alejoacosta74/blockchain-bike-rental.git","description":"Solidity based \"BIKE RENTAL SHOP\" on Ethereum network.","language":"JavaScript","stars":393,"topics":["ether","solidity","ethereum","tokenization","truffle-framework"],"license":null,"category":"blockchain-web3","readme_excerpt":"Bike Rental Shop - Bike Rental Shop - About - Overview - Main features - Rental service start / stop - Smart contracts - Payment model - Gas optimization - Further improvements - Use case tested - Usage - Expected test outcome - BTC address About This repository contains the source code and dependencies required to deploy a Solidity based \"BIKE RENTAL SHOP\" on Ethereum network. Overview The following diagram shows a high level overview of the interaction between the main components and actors in the bike rental service: Main features This is a summary with the main features implemented in the BikeRental contract: - Billing : the rental fee is calculated as a function of time (i.e. duration of rental in seconds) - Payment medium : customers can choose to pay with Ether or Tokens - Payment priority : BikeRental contract will try to fullfil pending payment with Token funds from customer's TokenAccount as a first priority. If payment is not cancelled 100%, contract will try to fulfill pending payment with Ether funds from customer's EtherAccount balance as a second priority. - Collateral rate : a premium rate (i.e. 20% cheaper than standard rate) is applicable to those customers that choose to fund their tokenAccount or etherAccount above a predefined collateral level (i.e. etherCollateralThreshold or tokenCollateralThreshold ). - Un-spent funds : Token or Ether amount that is not spent when rental finishes, is automatically returned/refunded to customers. - Customer debt : if cu","default_branch":null,"files":null,"tree":[],"storefront":"/r/alejoacosta74","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alejoacosta74/blockchain-bike-rental/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}