{"id":21170205,"url":"https://github.com/dcarpintero/dapp-supply-chain","last_synced_at":"2026-05-05T09:31:53.591Z","repository":{"id":42253893,"uuid":"275456366","full_name":"dcarpintero/dapp-supply-chain","owner":"dcarpintero","description":"Decentralized Supply Chain","archived":false,"fork":false,"pushed_at":"2024-01-11T03:31:26.000Z","size":15203,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T03:12:03.148Z","etag":null,"topics":["ethereum","ipfs","smart-contracts","solidity","truffle-framework","web3js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dcarpintero.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-27T21:30:46.000Z","updated_at":"2022-11-17T13:29:06.000Z","dependencies_parsed_at":"2023-02-13T15:15:25.348Z","dependency_job_id":"536e84ad-4b46-4717-b524-405582a9a9ba","html_url":"https://github.com/dcarpintero/dapp-supply-chain","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dcarpintero/dapp-supply-chain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fdapp-supply-chain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fdapp-supply-chain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fdapp-supply-chain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fdapp-supply-chain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcarpintero","download_url":"https://codeload.github.com/dcarpintero/dapp-supply-chain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fdapp-supply-chain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ethereum","ipfs","smart-contracts","solidity","truffle-framework","web3js"],"created_at":"2024-11-20T15:57:08.345Z","updated_at":"2026-05-05T09:31:53.571Z","avatar_url":"https://github.com/dcarpintero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Decentralized Supply Chain\n\n## Project Description\n\nSupply Chain DApp. Items are tracked along Farmers, Distributors, Retailers and Consumers. Implements **Access Control** and **State Transitions** as defined in the diagrams below.\n\nIntegrates **IPFS storage** for product images, the returned hash is then saved as part of the Item's metadata.\n\n## UML Diagrams\n\n### Activity Diagram\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/uml/ActivityDiagram.svg\" /\u003e\u003c/p\u003e\n\n### Sequence Diagram\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/uml/SequenceDiagram.svg\" /\u003e\u003c/p\u003e\n\n### State Diagram\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/uml/StateDiagram.svg\" /\u003e\u003c/p\u003e\n\n### Data Model Diagram\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/uml/DataModelDiagram.svg\" /\u003e\u003c/p\u003e\n\n### Dependencies\n\n- Solidity v0.6.0 (solc-js)\n- Node v12.17.0\n- Web3.js v1.2.1\n\n- Truffle v5.1.30 (core: 5.1.30) - Development framework\n- @truffle/hdwallet-provider v1.0.36 - HD Wallet-enabled Web3 provider\n- truffle-assertions v0.9.2 - Additional assertions for Truffle tests\n- chai v4.2.0 - Assertion library\n- lite-server v2.4.0 - Lightweight development only node server\n- ipfs-api v26.1.2 - A client library for the IPFS HTTP API\n\n### Smart Contract\n\n- Deployment TX on the Rinkeby Network: https://rinkeby.etherscan.io/tx/0xf32530de6483b54e7d0c818fbb12ca1ab14fb4a7ffab42552f7e0bc25202841c\n- Contract Address on the Rinkeby Network: https://rinkeby.etherscan.io/address/0xC53eC3E3c97Ad52485d78FDC632855f28018cc0a\n\n### IPFS\n\n- Product Image IPFS Hash: QmabWWJ2ED6FjgpbgXrjX8qotwDfXp2r9DvUTMHbFVjSCg\n- Product Image in IPFS: https://ipfs.infura.io:5001/api/v0/cat?arg=QmabWWJ2ED6FjgpbgXrjX8qotwDfXp2r9DvUTMHbFVjSCg\n\n### TX history\n\n- Harvested: 0x0e08dac2df56e69c098166feb74bc62f3fcf74865dbb36a84c6d42ea3879213f\n- Processed: 0xbdb8214ddf79e1555afadf63ef6da066a03803409f6e49c2b246c12c69bb8228\n- ItemImageHashSaved: 0xb2202032cbdf176207dc485b8febcfc8432d5a36388bdb8253225f9831ed67bc\n- Packed: 0xece69c876b90a702c575126a3899276cb536508e7ccbf365830942a42a333ad3\n- ForSale: 0xb06b9089981d7ae93c45aa0393549659e7be05eba395c5ed39518f954d45a994\n- **OwnerChanged**: 0x718eb83414b886852f25b49b33efe22e45b5a7265a0ece494b4e37bbc9e9b160\n- Sold: 0x718eb83414b886852f25b49b33efe22e45b5a7265a0ece494b4e37bbc9e9b160\n- Shipped: 0x254acbf1f274f162e54f52a3bd639e5ac5b89ce45a1d856204ca6c76876cbd3f\n- **OwnerChanged**: 0xc61fb724a34e99ae4999af6fbf1fcf0badeb19dff0ab383c3ce3fedc4b500646\n- Received: 0xc61fb724a34e99ae4999af6fbf1fcf0badeb19dff0ab383c3ce3fedc4b500646\n- **OwnerChanged**: 0xa76d8b1bdbb9fb3534671a96d3e5878da25fb0c3bbda999531f92daeef088f1e\n- Purchased: 0xa76d8b1bdbb9fb3534671a96d3e5878da25fb0c3bbda999531f92daeef088f1e\n\n### Deployment to Rinkeby\n\n- Requires .infuraKey and .secret files (see truffle-config.js).\n\n### Getting Started\n\nInstall dependencies\n\n```\nnpm install\n```\n\nLaunch Ganache\n\n```\nganache-cli\n```\n\nCompile, test and migrate\n\n```\ntruffle compile\ntruffle test\ntruffle migrate --reset --network=rinkeby\n```\n\nLauch the DApp\n\n```\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcarpintero%2Fdapp-supply-chain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcarpintero%2Fdapp-supply-chain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcarpintero%2Fdapp-supply-chain/lists"}