Coder Social home page Coder Social logo

supply-chain-tracking-dapp's Introduction

The contract address:======>

2_deploy_contracts.js

Deploying 'FarmerRole'

transaction hash: 0xbce1d48111bee08316169544e7cf5c03633dc426020b0204da5e057c282f24c6 Blocks: 0 Seconds: 9 contract address: 0xFBDeE89c658DE3e69aef1e4C9F0D9a8A99Fc9ddd block number: 6701156 block timestamp: 1592672814 account: 0xfC1BD566946e6A24503B914371A7AB2599E777f8 balance: 18.649233302 gas used: 328410 (0x502da) gas price: 10 gwei value sent: 0 ETH total cost: 0.0032841 ETH

Pausing for 2 confirmations...

confirmation number: 1 (block: 6701157) confirmation number: 2 (block: 6701158)

Deploying 'DistributorRole'

transaction hash: 0x4cb33d8cbcb5edd7a0d4f40713daf98b750aa720c6190256b4d3e861cd9f637a Blocks: 1 Seconds: 17 contract address: 0xEc1927b2D3a029F38f59B2c4AABfee706ceAFA65 block number: 6701160 block timestamp: 1592672874 account: 0xfC1BD566946e6A24503B914371A7AB2599E777f8 balance: 18.645948722 gas used: 328458 (0x5030a) gas price: 10 gwei value sent: 0 ETH total cost: 0.00328458 ETH

Pausing for 2 confirmations...

confirmation number: 1 (block: 6701161) confirmation number: 2 (block: 6701162)

Deploying 'RetailerRole'

transaction hash: 0x49ef654aca8879bae271096df452f5154746897b9a6aa355cd73d70b413f79f0 Blocks: 1 Seconds: 9 contract address: 0xCf7135242e2EeeD3BF76163a01F4c1C1d04544D7 block number: 6701163 block timestamp: 1592672919 account: 0xfC1BD566946e6A24503B914371A7AB2599E777f8 balance: 18.642664382 gas used: 328434 (0x502f2) gas price: 10 gwei value sent: 0 ETH total cost: 0.00328434 ETH

Pausing for 2 confirmations...

confirmation number: 1 (block: 6701164) confirmation number: 2 (block: 6701165)

Deploying 'ConsumerRole'

transaction hash: 0xb85249f1e8b1ead01715e25712626a3569e30efa5306ea43b193dc491a33d608 Blocks: 0 Seconds: 9 contract address: 0x84218c9bb1A8f8955C80d71d833371168906526c block number: 6701166 block timestamp: 1592672964 account: 0xfC1BD566946e6A24503B914371A7AB2599E777f8 balance: 18.639380042 gas used: 328434 (0x502f2) gas price: 10 gwei value sent: 0 ETH total cost: 0.00328434 ETH

Pausing for 2 confirmations...

confirmation number: 1 (block: 6701167) confirmation number: 2 (block: 6701168)

Deploying 'SupplyChain'

transaction hash: 0x4e86df8948343fe6941ef9cf6748ecb6361c46a62c9b9eecaaac2428178889a9 Blocks: 1 Seconds: 21 contract address: 0x9Ee1Dc9703D5b7e0c093A75aCd902dFeef02404e block number: 6701170 block timestamp: 1592673024 account: 0xfC1BD566946e6A24503B914371A7AB2599E777f8 balance: 18.606662862 gas used: 3271718 (0x31ec26) gas price: 10 gwei value sent: 0 ETH total cost: 0.03271718 ETH

Pausing for 2 confirmations...

confirmation number: 1 (block: 6701171) confirmation number: 2 (block: 6701172)

Saving migration to chain. Saving artifacts


Total cost: 0.04585454 ETH

Summary

Total deployments: 6 Final cost: 0.04810907 ETH

truffle(develop)>

Transaction History:========>

Harvested - 0x4b3e2e2e59172f3f9ae46a9766dbdfe8dabe252dd1bddf51a2d5e608c4e1e760 Processed - 0xe62702b602ae5088e7bdb2716ca822f4fadf08ce871dba9e13b242123612d33d Packed - 0x44ae95b310aaf76450353233809658e840621724eb2cad5924fbc6b5b428c9f7 ForSale - 0x0c681eac02c2dd921e3f72f18cf2580866552eab1ec2b4d37fa3049942708371 Sold - 0xdcece3cc12a350eff051fe3fe7272f9868223abe18078f7bb4cd27239b42469f Shipped - 0xf217887832cb6de4808ae9893bd76f52c2c063f585547845573b52c0bc018db3 Received - 0x105bbd92747580cbe1d04ee723b9f1c36f42b6750f7d35b666fd11227728ea16 Purchased - 0x8a5fd779c804a4e10ccc2383b162aa6c8bcf6b6369a5535deda2201c0f873e1d

Libraries used:======>

"devDependencies": { "lite-server": "2.4.0" }, "dependencies": { "@openzeppelin/contracts": "^3.0.2", "@truffle/hdwallet-provider": "^1.0.35" }

Program version numbers (This information will help your reviewer troubleshoot your project if any issues arise):====> nvm use 10 && npm install truffle -g nvm use 10 && truffle

truffle(develop)> version Truffle v5.1.30 (core: 5.1.30) Solidity - ^0.6.0 (solc-js) Node v10.21.0 Web3.js v1.2.1 truffle(develop)>

UML documents:====> Find in uml folder: Activity Sequence State Class (Data Model)

supply-chain-tracking-dapp's People

Contributors

saurabh-commit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.