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.
-
Notifications
You must be signed in to change notification settings - Fork 1
dragod812/Block-Chain-in-Supply-Chain-Management
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A flask application created to make a supply chain secure and traceable through the use of a decentralized blockchain.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published