Code Monkey home page Code Monkey logo

ambros's Introduction

AmBros

This is a Dapp for BIOTS 2018 hackathon in ETH Zurich. We aim to provide a better solution for the transportation of sensitive goods, especially chemical products, which should be preserved under certain condition like temperature. The transportation is between a consumer, who wants to send some goods, and a logistic company, who takes the responsibility for the transportation. The consumer first pays a certain shipping fee to the smart contract and the logistic company starts transportation. During transportation, multivariate data is collected through sensors and sent to block chain. After the transportation finishes, the money is paid from the smart contract to the logistic company. Part of the money may be paid back to the consumer if some conditions are not met.

Framework

Alt text

Balance: for querying the balance of logistic company, consumer and smart contract

Order: for consumer to place a order to logistic company.

Sensor: sensor data collected and uploaded to blockchain during transportation

Receive: check the package and pay.

Files

AmBros.sol: the smart contract.

BlockChainAsset.py: interface for sending and receiving data from block chain.

MyWeb3.py: interface for using the smart contract through web3.py.

UI.py: the UI and how the whole thing works together.

ambros's People

Contributors

lostbenjamin avatar

Watchers

 avatar  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.