{"id":15797770,"url":"https://github.com/parvez3019/supply_chain-blockchain-project","last_synced_at":"2025-03-31T19:45:12.075Z","repository":{"id":100405287,"uuid":"483744955","full_name":"parvez3019/supply_chain-blockchain-project","owner":"parvez3019","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-25T10:50:39.000Z","size":17383,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T00:41:23.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/parvez3019.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-20T17:11:18.000Z","updated_at":"2022-05-23T07:02:18.000Z","dependencies_parsed_at":"2023-05-14T10:31:15.244Z","dependency_job_id":null,"html_url":"https://github.com/parvez3019/supply_chain-blockchain-project","commit_stats":{"total_commits":13,"total_committers":6,"mean_commits":"2.1666666666666665","dds":"0.46153846153846156","last_synced_commit":"49c934d66aaff4a7784fa079caf1ccc3cd37d08d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parvez3019%2Fsupply_chain-blockchain-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parvez3019%2Fsupply_chain-blockchain-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parvez3019%2Fsupply_chain-blockchain-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parvez3019%2Fsupply_chain-blockchain-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parvez3019","download_url":"https://codeload.github.com/parvez3019/supply_chain-blockchain-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531986,"owners_count":20792735,"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":[],"created_at":"2024-10-05T00:20:31.225Z","updated_at":"2025-03-31T19:45:12.042Z","avatar_url":"https://github.com/parvez3019.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supply chain \u0026 data auditing\n\nThis repository containts an Ethereum DApp that demonstrates a Supply Chain flow between a Seller and Buyer. The user story is similar to any commonly used supply chain process. A Seller can add items to the inventory system stored in the blockchain. A Buyer can purchase such items from the inventory system. Additionally a Seller can mark an item as Shipped, and similarly a Buyer can mark an item as Received.\n\nThe DApp User Interface when running should look like...\n\n![truffle test](images/ftc_product_overview.png)\n\n![truffle test](images/ftc_farm_details.png)\n\n![truffle test](images/ftc_product_details.png)\n\n![truffle test](images/ftc_transaction_history.png)\n\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nPlease make sure you've already installed ganache-cli, Truffle and enabled MetaMask extension in your browser.\n\n```\nGive examples (to be clarified)\n```\n\n### Installing\n\n\u003e The starter code is written for **Solidity v0.4.24**. At the time of writing, the current Truffle v5 comes with Solidity v0.5 that requires function *mutability* and *visibility* to be specified (please refer to Solidity [documentation](https://docs.soliditylang.org/en/v0.5.0/050-breaking-changes.html) for more details). To use this starter code, please run `npm i -g truffle@4.1.14` to install Truffle v4 with Solidity v0.4.24. \n\nA step by step series of examples that tell you have to get a development env running\n\nClone this repository:\n\n```\ngit clone https://github.com/udacity/nd1309/tree/master/course-5/project-6\n```\n\nChange directory to ```project-6``` folder and install all requisite npm packages (as listed in ```package.json```):\n\n```\ncd project-6\nnpm install\n```\n\nLaunch Ganache:\n\n```\nganache-cli -m \"spirit supply whale amount human item harsh scare congress discover talent hamster\"\n```\n\nYour terminal should look something like this:\n\n![truffle test](images/ganache-cli.png)\n\nIn a separate terminal window, Compile smart contracts:\n\n```\ntruffle compile\n```\n\nYour terminal should look something like this:\n\n![truffle test](images/truffle_compile.png)\n\nThis will create the smart contract artifacts in folder ```build\\contracts```.\n\nMigrate smart contracts to the locally running blockchain, ganache-cli:\n\n```\ntruffle migrate\n```\n\nYour terminal should look something like this:\n\n![truffle test](images/truffle_migrate.png)\n\nTest smart contracts:\n\n```\ntruffle test\n```\n\nAll 10 tests should pass.\n\n![truffle test](images/truffle_test.png)\n\nIn a separate terminal window, launch the DApp:\n\n```\nnpm run dev\n```\n\n## Built With\n\n* [Ethereum](https://www.ethereum.org/) - Ethereum is a decentralized platform that runs smart contracts\n* [IPFS](https://ipfs.io/) - IPFS is the Distributed Web | A peer-to-peer hypermedia protocol\nto make the web faster, safer, and more open.\n* [Truffle Framework](http://truffleframework.com/) - Truffle is the most popular development framework for Ethereum with a mission to make your life a whole lot easier.\n\n\n## Authors\n\nSee also the list of [contributors](https://github.com/your/project/contributors.md) who participated in this project.\n\n## Acknowledgments\n\n* Solidity\n* Ganache-cli\n* Truffle\n* IPFS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparvez3019%2Fsupply_chain-blockchain-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparvez3019%2Fsupply_chain-blockchain-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparvez3019%2Fsupply_chain-blockchain-project/lists"}