Skip to content
This repository has been archived by the owner on May 17, 2020. It is now read-only.

Project 6 from the Udacity Blockchain Developer Program. (Supply Chain)

Notifications You must be signed in to change notification settings

klickers/udacity_Project6_BookSupplyChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information

Versions

Truffle v5.1.20 (core: 5.1.20)
Solidity v0.5.16 (solc-js)
Node v10.15.0
Web3.js v1.2.1

Contract Address

0xdeef19c0c95ecd9466a06fbe18189c9450ae9095887acb0b5b4d2eb03946b3bf on the Ropsten test network.

UML

Activity Diagram

activity diagram

Sequence Diagram

sequence diagram

State Diagram

state diagram

Data Model

data model

Libraries

The roles library was used to manage actors on the supply chain.

Installing

Download and extract this repository. Once in the root folder, run:

cd project-6
npm install

In a separate terminal window, compile smart contracts:

truffle compile

This will create the smart contract artifacts in folder build\contracts.

Migrate smart contracts to the locally running blockchain:

truffle migrate

Test smart contracts:

truffle test

All 11 tests should pass.

In a separate terminal window, launch the DApp:

npm run dev

Built With

  • Ethereum - Ethereum is a decentralized platform that runs smart contracts
  • Truffle Framework - Truffle is the most popular development framework for Ethereum with a mission to make your life a whole lot easier.

Acknowledgments

  • Solidity
  • Ganache-cli
  • Truffle
  • IPFS

About

Project 6 from the Udacity Blockchain Developer Program. (Supply Chain)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages