hellokartikey / gdsc-hod

Crypto Wraiths

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dPharma

Pharma - SLAs, Traceability & Safety

Tech Specs

  1. dPharma etherium smart contract

    1. struct Nodes array:
      • (0) Hospital
      • (1) Warehouses
      • (2) Factory
    2. struct Stock:
      • serial
      • name
      • location Node
      • type
      • qty
      • ppu
      • category
      • batch_no
      • mfg_date
      • expiry
    3. Total_Stocks = array Stock
    4. Orders mapping: (address(Hospital) => (order_no => struct Order))
    5. struct Order
      • Stock
      • price
      • path array = (Node, time) # -1 for yet to reach
    6. order_no = unique id generated for each order placed
  2. Backend Flask and JS

    1. Route calculation
    2. Updation of orders (Distributors)
    3. Updation of stocks (Manufacturers)
    4. Placement of orders (Hospitals)

About

Crypto Wraiths


Languages

Language:JavaScript 30.7%Language:HTML 25.7%Language:Python 24.3%Language:Solidity 15.5%Language:CSS 3.8%