Block-Chain-in-Supply-Chain-Management
python 

所属分类:企业管理
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2018-04-14 19:41:29
上 传 者sh-1993
说明:  创建的烧瓶应用程序,通过使用去中心化区块链使供应链安全和可跟踪。
(A flask application created to make a supply chain secure and traceable through the use of a decentralized blockchain.)

文件列表:
Flask/ (0, 2018-04-14)
Flask/Flask.py (20, 2018-04-14)
Flask/__pycache__/ (0, 2018-04-14)
Flask/__pycache__/Flask.cpython-36.pyc (149, 2018-04-14)
Flask/__pycache__/config.cpython-36.pyc (368, 2018-04-14)
Flask/app/ (0, 2018-04-14)
Flask/app/__init__.py (128, 2018-04-14)
Flask/app/__pycache__/ (0, 2018-04-14)
Flask/app/__pycache__/__init__.cpython-36.pyc (283, 2018-04-14)
Flask/app/__pycache__/forms.cpython-36.pyc (1298, 2018-04-14)
Flask/app/__pycache__/routes.cpython-36.pyc (6721, 2018-04-14)
Flask/app/__pycache__/userdata.cpython-36.pyc (699, 2018-04-14)
Flask/app/forms.py (1062, 2018-04-14)
Flask/app/routes.py (9369, 2018-04-14)
Flask/app/templates/ (0, 2018-04-14)
Flask/app/templates/base.html (1150, 2018-04-14)
Flask/app/templates/index.html (596, 2018-04-14)
Flask/app/templates/login.html (649, 2018-04-14)
Flask/app/templates/payment.html (635, 2018-04-14)
Flask/app/templates/request.html (1439, 2018-04-14)
Flask/app/userdata.py (852, 2018-04-14)
Flask/config.py (110, 2018-04-14)
Flask/venv/ (0, 2018-04-14)
Flask/venv/Lib/ (0, 2018-04-14)
Flask/venv/Lib/site-packages/ (0, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/ (0, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/DESCRIPTION.rst (810, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/INSTALLER (4, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/LICENSE.txt (1582, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/METADATA (1948, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/RECORD (3277, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/WHEEL (110, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/entry_points.txt (60, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/metadata.json (1389, 2018-04-14)
Flask/venv/Lib/site-packages/Flask-0.12.2.dist-info/top_level.txt (6, 2018-04-14)
Flask/venv/Lib/site-packages/Flask_WTF-0.14.2.dist-info/ (0, 2018-04-14)
Flask/venv/Lib/site-packages/Flask_WTF-0.14.2.dist-info/DESCRIPTION.rst (584, 2018-04-14)
Flask/venv/Lib/site-packages/Flask_WTF-0.14.2.dist-info/INSTALLER (4, 2018-04-14)
Flask/venv/Lib/site-packages/Flask_WTF-0.14.2.dist-info/LICENSE.txt (1490, 2018-04-14)
Flask/venv/Lib/site-packages/Flask_WTF-0.14.2.dist-info/METADATA (1846, 2018-04-14)
... ...

# Block-Chain-in-Supply-Chain-Management A flask application created to make any supply chain **secure** and **traceable** through the use of a **decentralized blockchain**.
So we have a supplier and manufacture that we run on different servers. They can Request Goods, Send Goods, Recieve Goods, Send Payment and Recieve Payment.
All these transactions create a hash for each of the data involved in the transaction. This hash is sent to all the validators, which are also servers running on different machines. when the validator has all the hashes and the
**requested_hash = sent_hash = recieved_hash**
and
**requested_payment = sent_payment = recieved_payment**.
We understand that the transaction was successful and any of the validators can mine this new_transaction to create a block in the block chain. The other validators can call the consensus to update their blockchains , which follows the **longest chain rule**.
We can see the entire blockchain by sending a get request to the validators. I used postman to send post and get requests to get the blockchain and call the consensus.

近期下载者

相关文件


收藏者