{"id":21340497,"url":"https://github.com/riyadhuddin/stwb","last_synced_at":"2025-03-16T02:42:16.805Z","repository":{"id":42577589,"uuid":"425609445","full_name":"riyadhuddin/stwb","owner":"riyadhuddin","description":"supply chain implementation with blockchain traceability","archived":false,"fork":false,"pushed_at":"2023-04-17T17:01:21.000Z","size":2281,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-22T15:30:38.524Z","etag":null,"topics":["blockchain","smart-contracts","solidity","supply-chain","traceability","web3"],"latest_commit_sha":null,"homepage":"https://iacdrops.xyz","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/riyadhuddin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-07T20:32:27.000Z","updated_at":"2023-07-18T09:08:06.000Z","dependencies_parsed_at":"2024-11-22T01:02:28.553Z","dependency_job_id":null,"html_url":"https://github.com/riyadhuddin/stwb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyadhuddin%2Fstwb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyadhuddin%2Fstwb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyadhuddin%2Fstwb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyadhuddin%2Fstwb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riyadhuddin","download_url":"https://codeload.github.com/riyadhuddin/stwb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243817640,"owners_count":20352585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","smart-contracts","solidity","supply-chain","traceability","web3"],"created_at":"2024-11-22T00:51:04.895Z","updated_at":"2025-03-16T02:42:16.784Z","avatar_url":"https://github.com/riyadhuddin.png","language":"Solidity","readme":"# Supply Chain traceability with blockchain\n\nProblem to be solved:\n\n- How to trace the origin of a product?\n- Expiration date of a product?\n- Error in the supply chain?\n- Invalid Source?\n- Lack of transparency?\n- Seamless communication between the supply chain partners?\n- Authentication of the product?\n- Accurate information about the product?\n\nApp description:\n\n- App Layer:\n  - Producer\n  - Distributor\n  - Retailer\n  - Consumer\n- Blockchain Layer:\n  - Trading System\n  - Review System\n  - Smart Contracts\n- Infrastructure Layer:\n  - IPFS\n  - blockchain node connection\n  - Kubernetes\n  - Serverless functions\n  - Cloud storage\n\n**System Architecture:**\n![System Architecture](https://github.com/riyadhuddin/stwb/blob/main/img/supply%20chain(1).png)\n\nApp Roles:\n\n- Admin\n  - Create new user and assign roles\n  - Edit user details\n  - Delete user\n  - View user details\n  - Audit user activities\n\n- Producer\n  - Register Product\n  - Update Product\n  - Delete Product\n  - View Product\n  - View All Products\n  - Sell Product\n- Processor\n  - View Product\n  - View All Products\n  - Buy Product\n  - Sell Product\n  - Review Product\n- Distributor\n  - View Product\n  - View All Products\n  - Buy Product\n  - Sell Product\n- Retailer\n  - View Product\n  - View All Products\n  - Buy Product\n  - Sell Product\n  - Return Product\n- Customer\n  - View Product\n  - View All Products\n  - Buy Product\n  - Return Product\n  - Review Product\n- Certifier\n  - View Product\n  - View All Products\n  - Review Product\n  - Certify Product\n  - De-certify Product\n  - issue certificate to producer\n  - issue certificate to distributor\n\n*Example supply chain implementation with blockchain traceability:*\n\n1. Food industry of Bangladesh\n2. Footwear industry of Bangladesh\n\n**Basic breakdown of the Food industry supply chain project:**\n\n- Producer \u0026 Farmer\n  - is the person who produces the raw product\n  - is verified by the certifier\n  - is supplying the raw product to the processor\n  - is stakeholder of the supply chain\n- Investigator \u0026 Certifier\n  - is the person who investigates the product\n  - is verifying the product\n  - is issuing the certificate to the producer\n  - is govt authority, private authority or a third party\n- Stakeholder\n  - is the person who is involved in the supply chain\n  - is the person who is interested in the supply chain\n  - is the person who is affected by the supply chain\n- Products\n  - is the raw product\n  - is the processed product\n  - is the final product\n  - has a unique id\n  - has a name\n  - has a description\n  - has a price\n  - has a quantity\n  - has a date of production\n  - has from whom it is produced, shipped, sold\n- Processor\n  - is the person who processes the raw product\n  - is verified by the certifier\n  - is supplying the processed product to the distributor\n  - is stakeholder of the supply chain\n- Distributor\n  - is the person who distributes the processed product\n  - is verified by the certifier\n  - is supplying the final product to the retailer\n  - is stakeholder of the supply chain\n- Retailer\n  - is the person who sells the final product\n  - is verified by the certifier\n  - is selling the final product to the customer\n  - is stakeholder of the supply chain\n\u003cbr\u003eTry running some of the following tasks:\n\n```shell\nnpx hardhat accounts\nnpx hardhat compile\nnpx hardhat clean\nnpx hardhat test\nnpx hardhat node\nnode scripts/sample-script.js\nnpx hardhat help\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friyadhuddin%2Fstwb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friyadhuddin%2Fstwb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friyadhuddin%2Fstwb/lists"}