pps-19012 / Supply-Chain-v1

Elementary supply-chain solution using Solidity, Truffle, React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supply Chain v1

Real-World Use-Case for this Project

  • Can be part of a supply-chain solution
  • Automated Dispatch upon payment
  • Payment collection without middlemen

Development-Goal

  • Showcase Event-Triggers
  • Understand the low-level function address.call.value()()
  • Understand the Workflow with Truffle
  • Understand Unit Testing with Truffle
  • Understand Events in HTML

Migration

  • Migration files contain the details related to initial blockchain deployment.
  • Details

Demo

one

  • Used react.js for UI. It is minimalistic only to depict the functionality.

Create an item and its price

two

  • Alert will pop-up asking the user to pay for the item.
  • After receiving the alert use: web3.eth.sendTransaction({to:"typeAddress", value:typeValueInWei, from:accounts[1], gas: 300000});

After receiving payment

  • Ask to deliver to the customer three

About

Elementary supply-chain solution using Solidity, Truffle, React

License:MIT License


Languages

Language:JavaScript 56.8%Language:Solidity 31.6%Language:HTML 8.3%Language:CSS 3.3%