/BlockDelivery

Decentralized package delivery on Ethereum

Primary LanguageJavaScript

BlockDelivery

Build Status Coverage Status

Decentralized app for package delivery or logistics. Buy, sell, delivery without central party. This repository contains React website in the /app folder and Solidity contracts in /contracts.

Features

  • Create an order with a buyer, seller and delivery man
  • Delivery flow from order creation, package ready, pick up and delivered
  • Escrow customizable to avoid thefts, scams
  • Amicable resolution flow in case of problem (Package destroyed/damaged in transport, wrong product, mistakes)

Contracts

Setup

Need NodeJS for running Truffle Suite

Then run npm install -g truffle

Compile/publish contracts :

cd BlockDelivery
npm install
truffle develop

Then in truffle console

compile
migrate

It's now possible to interact with them on localhost:8545

Run tests

Simply run npm run test

App

Setup

cd app
npm install
npm run start

Localhost started at http://localhost:3000