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.
Download the zip file from github or clone it from the command line:
git clone https://github.com/luigidinuzzo/CryptoPackDelivery.git
- 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!
- Presentazione: presentation of the project and images used;
- Build: json files ;
- Client: for the Website's GUI, JS & HTML;
- Contracts: all about solidity's contracts;
- Migrations: all about migrations for Ganache;
- Luigi di Nuzzo @luigidinuzzo
- Filippo Veronesi @filippoveronesi