Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riyadhuddin/stwb
supply chain implementation with blockchain traceability
https://github.com/riyadhuddin/stwb
blockchain smart-contracts solidity supply-chain traceability web3
Last synced: about 1 month ago
JSON representation
supply chain implementation with blockchain traceability
- Host: GitHub
- URL: https://github.com/riyadhuddin/stwb
- Owner: riyadhuddin
- Created: 2021-11-07T20:32:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T15:44:54.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T17:27:24.995Z (almost 2 years ago)
- Topics: blockchain, smart-contracts, solidity, supply-chain, traceability, web3
- Language: Solidity
- Homepage: https://iacdrops.xyz
- Size: 1.9 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Supply Chain traceability with blockchain
Problem to be solved:
- How to trace the origin of a product?
- Expiration date of a product?
- Error in the supply chain?
- Invalid Source?
- Lack of transparency?
- Seamless communication between the supply chain partners?
- Authentication of the product?
- Accurate information about the product?App description:
- App Layer:
- Producer
- Distributor
- Retailer
- Consumer
- Blockchain Layer:
- Trading System
- Review System
- Smart Contracts
- Infrastructure Layer:
- IPFS
- blockchain node connection
- Kubernetes
- Serverless functions
- Cloud storage**System Architecture:**
![System Architecture](https://github.com/riyadhuddin/stwb/blob/main/img/supply%20chain(1).png)App Roles:
- Admin
- Create new user and assign roles
- Edit user details
- Delete user
- View user details
- Audit user activities- Producer
- Register Product
- Update Product
- Delete Product
- View Product
- View All Products
- Sell Product
- Processor
- View Product
- View All Products
- Buy Product
- Sell Product
- Review Product
- Distributor
- View Product
- View All Products
- Buy Product
- Sell Product
- Retailer
- View Product
- View All Products
- Buy Product
- Sell Product
- Return Product
- Customer
- View Product
- View All Products
- Buy Product
- Return Product
- Review Product
- Certifier
- View Product
- View All Products
- Review Product
- Certify Product
- De-certify Product
- issue certificate to producer
- issue certificate to distributor*Example supply chain implementation with blockchain traceability:*
1. Food industry of Bangladesh
2. Footwear industry of Bangladesh**Basic breakdown of the Food industry supply chain project:**
- Producer & Farmer
- is the person who produces the raw product
- is verified by the certifier
- is supplying the raw product to the processor
- is stakeholder of the supply chain
- Investigator & Certifier
- is the person who investigates the product
- is verifying the product
- is issuing the certificate to the producer
- is govt authority, private authority or a third party
- Stakeholder
- is the person who is involved in the supply chain
- is the person who is interested in the supply chain
- is the person who is affected by the supply chain
- Products
- is the raw product
- is the processed product
- is the final product
- has a unique id
- has a name
- has a description
- has a price
- has a quantity
- has a date of production
- has from whom it is produced, shipped, sold
- Processor
- is the person who processes the raw product
- is verified by the certifier
- is supplying the processed product to the distributor
- is stakeholder of the supply chain
- Distributor
- is the person who distributes the processed product
- is verified by the certifier
- is supplying the final product to the retailer
- is stakeholder of the supply chain
- Retailer
- is the person who sells the final product
- is verified by the certifier
- is selling the final product to the customer
- is stakeholder of the supply chain
Try running some of the following tasks:```shell
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
```