product-tracker – 产品跟踪器区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,product-tracker – 产品跟踪器区块链毕设代写 是一篇很好的国外资料

product-tracker

A Blockchain enabled DApp for Supply chains

This is a web-based Etheruem DApp made using Truffle.

Setup

Setting up compatible Metamask

The Set-up for this web-app for regular use requires an older version of Metamask extension.

  • Download the zip file for the extension for your browser by clicking on the above link. Extract the zip folder into a local depository.
  • Open your browser and navigate to ‘manage extensions’.
  • Toggle switch to developer mode. Disable all previous versions of Metamask.
  • Click on ‘Load Unpacked’ and browse to the earlier extracted folder and select that folder.

Setting up local blockchain on Ganche and other dependencies.

In case the project needs to be run/tested on a local blockchain download Ganache to quickly setup your local blockchain.
This is also advisable since doing transactions on any blockchain costs gas fees.

  • Once the local blockchain is set-up(please read this guide), we need to connect Metamask with the local blockchain.
  • To do this open your browser and click on the metamask extension.
  • By default the Metamask had created your account on the Ethereum Mainnet. We need to click on the ‘Mainnet’. In the dropdown we will then be able to see Ethereum test servers.
  • We need to connect to a custom RPC. The details can be copy pasted from the Ganache Gui that has our local blockchain running for us. The default Chain Id is currently 1337 for Ganche.
  • Once on RPC is configured on Metamask we also need to add our first account/block from the blockchain. For this we copy the private key from the Ganache GUI by clicking on the key icon on the first block.
  • Then head on over to Metamask on the browser and click on the circular profile icon to which lists all your accounts. Select import account and paste the key. Your Local Blockchain is now connected to the Metamask which will act as a go between the app and your wallet.
    Next we need to show our Blockchain where our Truffle project is located.

Launch

  • On a new command prompt,
    • Navigate to the project directory using cd command
    • Type command “truffle migrate” to deploy the contract onto the blockchain. You might be able to see the changes in Ganche GUI. You can explore your contracts and events etc also there.
  • On a new command prompt, navigate to the project directory using cd command.
  • Run command “npm run dev” to launch our webDApp on the browser using liteserver.
  • Allow permissions on the Metamask to allow the the webDApp to get access to our current account.
  • Once your account shows up on the top right corner like this we are good to go!

product-tracker - 产品跟踪器

Create LICENSE


product-tracker

A Blockchain enabled DApp for Supply chains

This is a web-based Etheruem DApp made using Truffle.

Setup

Setting up compatible Metamask

The Set-up for this web-app for regular use requires an older version of Metamask extension.

  • Download the zip file for the extension for your browser by clicking on the above link. Extract the zip folder into a local depository.
  • Open your browser and navigate to ‘manage extensions’.
  • Toggle switch to developer mode. Disable all previous versions of Metamask.
  • Click on ‘Load Unpacked’ and browse to the earlier extracted folder and select that folder.

Setting up local blockchain on Ganche and other dependencies.

In case the project needs to be run/tested on a local blockchain download Ganache to quickly setup your local blockchain.
This is also advisable since doing transactions on any blockchain costs gas fees.

  • Once the local blockchain is set-up(please read this guide), we need to connect Metamask with the local blockchain.
  • To do this open your browser and click on the metamask extension.
  • By default the Metamask had created your account on the Ethereum Mainnet. We need to click on the ‘Mainnet’. In the dropdown we will then be able to see Ethereum test servers.
  • We need to connect to a custom RPC. The details can be copy pasted from the Ganache Gui that has our local blockchain running for us. The default Chain Id is currently 1337 for Ganche.
  • Once on RPC is configured on Metamask we also need to add our first account/block from the blockchain. For this we copy the private key from the Ganache GUI by clicking on the key icon on the first block.
  • Then head on over to Metamask on the browser and click on the circular profile icon to which lists all your accounts. Select import account and paste the key. Your Local Blockchain is now connected to the Metamask which will act as a go between the app and your wallet.
    Next we need to show our Blockchain where our Truffle project is located.

Launch

  • On a new command prompt,
    • Navigate to the project directory using cd command
    • Type command “truffle migrate” to deploy the contract onto the blockchain. You might be able to see the changes in Ganche GUI. You can explore your contracts and events etc also there.
  • On a new command prompt, navigate to the project directory using cd command.
  • Run command “npm run dev” to launch our webDApp on the browser using liteserver.
  • Allow permissions on the Metamask to allow the the webDApp to get access to our current account.
  • Once your account shows up on the top right corner like this we are good to go!

product-tracker - 产品跟踪器

Create LICENSE

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情