Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 2.97 KB

README.md

File metadata and controls

64 lines (45 loc) · 2.97 KB

CryptoPackDelivery

CryptoPackDelivery is an Ethereum's Solidity-written dApp simulating the delivering of packages, each parcel is treated as an NFT, in fact at the time of creation it is placed in the container and mined, while at the end of the delivery, the ownership of the NFT is automatically transferred to the receiver address entered in the initial form.

webApp

Download

Download the zip file from github or clone it from the command line:

git clone https://github.com/luigidinuzzo/CryptoPackDelivery.git

Technology stack

Set up the development environment

Necessary programs and plugins

  • Clone this repository;
  • Install Node.js, Npm and Boostrap;
  • Install Truffle: npm install -g truffle;
  • Download Ganache;

Set up the project

  • Start Truffle: truffle init;
  • Create a Ganache's workspace configured with our truffle-config.js file;
  • Migrate Truffle: truffle migrate and it will migrate all the file .js in the Migrations folder;
  • Create a Metamask Account for testing the transactions;
  • Add a localhost newtwork in your Metamask Account specifing the same URL as Ganache's;
  • Go to Metamask and import an Account using the address and a private keys from a Ganache's Account;
  • Start th project using npm and the localhost: npm run start;
  • Have fun!

Folders

Authors