Supply Chain Management – 供应链管理区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Supply Chain Management – 供应链管理区块链毕设代写 是一篇很好的国外资料

Supply Chain Management

⚠️ Attention
This project is not maintained anymore. And may not work with latest ethereum.

Supply chain management on blockchain using Angular 4 + Truffle + IPFS + Ethereum

How to use

There are 2 small parts to successfully running this project.

Prerequisite

  1. Node.js
  2. IPFS
  3. Truffle Framework (npm install -g truffle or on linux sudo npm install -g truffle)
  4. Testrpc (npm install -g ethereumjs-testrpc or on linux sudo npm install -g ethereumjs-testrpc)

Part 1

  1. git clone https://github.com/shekhar-shubhendu/supply-chain.git
  2. cd supply-chain
  3. npm install
  4. npm install -g @angular/cli@latest (linux users might have to do: sudo npm install -g @angular/cli@latest)

Part 2

  1. Open a new terminal and start IPFS daemon with ipfs daemon
  2. Start testrpc in new terminal with testrpc -l 47000000000000.
  3. From inside the project directory run truffle compile to compile your contracts
  4. And truffle migrate to deploy those contracts to the network
  5. Now finally, start the project with npm start. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
  6. Make sure there are no errors in browser console

Login

  1. This project uses your keystore file to login to the application.
  2. For now, the accounts that can login are hardcoded in auth.service.ts with there role. Future builds will feature a screen for proper role and account management.
  3. You can find the keystore for default accounts and there password in ‘keys’ folder.

URLs

  1. /login
  2. /retailer
  3. /distributor
  4. /manufacturer
  5. /supplier

Todo:

  1. Access IPFS from browser (Remove separate script for IPFS upload).

Technologies & Languages Used:

  1. Angular4 (Typescript/Javascript)
  2. Truffle (Solidity)
  3. IPFS
  4. Node.js
  5. Express

Acknowledgments

  • Nikhil Bhaskar for Angular CLI + Truffle Starter Dapp
  • MyEtherWallet

License

GNU GPLv3


供应链管理

⚠️ Attention
This project is not maintained anymore. And may not work with latest ethereum.

基于Angular 4+Truffle+IPFS+Ethereum的区块链blockchain供应链管理

如何使用

成功运行该项目有两个小部分。

先决条件

  1. 节点.js
  2. IPFS
  3. Truffle框架(npm install-g Truffle或在linux sudo npm install-g Truffle上)
  4. Testrpc(npm install-g ethereumjs Testrpc或在linux sudo npm install-g ethereumjs Testrpc上)

第1部分

  1. git克隆https://github.com/shekhar-shubhendu/supply-chain.git光盘供应链/cli@最新(linux用户可能需要执行以下操作:sudo npm install-g@angular)/cli@最新)
  2. 打开一个新终端并用IPFS daemon启动IPFS daemon
  3. 用测试rpc-l 47000000000000。
  4. 在项目目录中运行truffle compile来编译您的合同,然后truffle migrate将这些合同部署到网络中现在,用npm start开始项目。导航到http://localhost:4200/. 如果您更改任何源文件,应用程序将自动重新加载。

第2部分

  1. 确保浏览器控制台中没有错误
  2. 此项目使用密钥库文件登录到应用程序。
  3. 目前,可以登录的帐户是硬编码的验证服务.ts有了这个角色。未来的版本将有一个适当的角色和帐户管理屏幕。
  4. 您可以在“keys”文件夹中找到默认帐户的密钥库和密码。
  5. /登录
  6. /零售商

登录

  1. /分销商
  2. /制造商
  3. /供应商

URL

  1. 从浏览器访问IPFS(删除IPFS上载的单独脚本)。
  2. Angular4(Typescript/Javascript)
  3. 块菌(固体)
  4. IPFS
  5. 节点.js本项目不再维护。可能无法与最新的以太坊eth协同工作。你知道吗

Todo:

  1. Access IPFS from browser (Remove separate script for IPFS upload).

技术&使用的语言:

  1. Angular4 (Typescript/Javascript)
  2. Truffle (Solidity)
  3. IPFS
  4. Node.js
  5. Express

确认

  • Nikhil Bhaskar for Angular CLI + Truffle Starter Dapp
  • MyEtherWallet

许可证

GNU GPLv3

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/19514.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Supply Chain Management – 供应链管理区块链毕设代写

提供最优质的资源集合

立即查看 了解详情