Shih-Yu / DogBreedContract

Project For ConsenSys Academy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DogBreedContract

Project For ConsenSys Academy

About

This is a work in progress project called DogBreedContract. It is designed for transparency in buying and selling dogs that are properly breed to a certain standard. To assure that these standards are met, a verifier is the only person who can add a dog for sale once it has been verified and the standards are met. Once the dog is added to the list, a buyer can choose which dog to buy from the list by looking at it's credentials. Once the dog is bought, the transaction will go through and the dog will be marked by the buyer once the dog is received.

Testing

  • To test the contract install and open the project directory in the terminal
  • Once in the project directory, run: ganache-cli
  • Then open another terminal and run: truffle test

Run The App Locally

  • Open Ganache GUI
  • Make sure it is set to the proper port number in truffle-config file
  • In the root directory run: npm start
  • Metamask should be open and using the Ganache GUI accounts

About

Project For ConsenSys Academy


Languages

Language:JavaScript 93.5%Language:CSS 6.5%