Giter Site home page Giter Site logo

data-ductus / smart-package Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 427 KB

Thesis work - Etherium based replacement of blockets smart package

License: Apache License 2.0

Shell 0.38% TypeScript 34.99% JavaScript 52.66% HTML 11.73% CSS 0.25%
ethereum ethereum-dapp

smart-package's Introduction

Blockchain technology has exploded in 2017. Especially now when Etherium (www.entethalliance.org) is stabilizing and improving such as privacy and speed. Etherium is the vNext of bitcoin (www.bitcoin.org) whereas the latter is a currency (at the time of writing; 1 BTC costs around 5.000 EUR).

Etherium supports something called smart contracts that are written in a language called solidity. There are good tooling around implementing smart contracts and run a Etherium network (consortium). Smart contracts are executed during the mining process and when consensus in the network is reached the outcome is agreed upon. This can be used for anything such as commit the withdrawal of money, a position and a temperature is embedded into the contract etc. The key thing is that this system is a distributed ledger and is therefore hard to compromise. Thus, applications that want to achieve mutual trust but not need to trust the individual parties is a good target. This work is about emulating the Blocket secure package. Where two parties have decided to trade FIAT money for some goods. When the agreed amount of money and an insurance of the goods quality from the seller side the seller sends this package. The buyer picks up the package and have 24 hours to confirm that the goods in the shape agreed upon. Blocket will act as a broker and keep the money that the buyer has paid and transfer to seller after 24 hours. If buyer disagrees, s/he returns the package within 24 hours and the Blocket will transfer the money to the buyer.

In this work, we wish to eliminate the third party, instead make use of smart contracts that is a currency itself that will be delivered to seller’s wallet when buyer do not return the package and automatically reverts the transaction when buyer do return the package. The package delivery company do get paid in each case, but after the result of the transaction outcome. Since package management from, in transit, reception may be subject to damage. The package shall be instrumented accordingly, e.g. temperature sensor, shake / acceleration sensor. All shall deliver data into the running contract transaction. This allows e.g. the buyer to check if this package has been mistreated of the quality parameter set when buying the goods (e.g. temperature over a certain value for goods needs to be cooled). All data should be combined with location tracking such as GPS or RFID based system. There are different actors in this system all of which needs their information, but others should be obfuscated. Therefore, encryption of the payload is needed where different, and overlapping, data needs to be concealed and recovered by correct actor.

smart-package's People

Contributors

axwa avatar

Stargazers

Mario Toffia avatar

Watchers

James Cloos avatar  avatar Maxim Khamrakulov 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.