Coder Social home page Coder Social logo

mjz1211 / mobility_dapps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blockchain-mobility-ecosystem/mobility_dapps

0.0 0.0 0.0 6.89 MB

Distributed applications targeting carpooling and carsharing.

License: Apache License 2.0

JavaScript 70.47% CSS 3.67% HTML 25.82% PHP 0.02% Shell 0.01%

mobility_dapps's Introduction

Decentralized Mobility Application Framework

A decentralized mobility application framework.

The framework consists of in-car components/libs and user car sharing dapps.

Install and run

This dapp was built using the Truffle Dapp Development Framework. If you would like to deploy this dapp locally for testing the easiest way to do that is to install Truffle and the testrpc Ethereum client.

Compile and install contracts.

You will need to be running testrpc in one terminal instance and Truffle in a second one. This can be accomplished by opening 2 separate terminal windows or using a program like screen if you use a Linux based OS. After installing Truffle and testrpc:

Terminal Window 1:

  1. Start testrpc with settings to your liking (it is a good idea to unlock accounts when starting testrpc so you can more easily interact with the contracts).

Terminal Window 2:

  1. Compile smart contracts
truffle compile
  1. Migrate contracts to testrpc or other chains.
truffle migrate

Run dapps

To run in-car dapp, go to app/carsharing to check out details.

To run user dapp, go to dapp to check out details.

License

Apache 2.0

mobility_dapps's People

Contributors

shuangjj avatar souptacular avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.