DEV Community

Chase Struse
Chase Struse

Posted on

[Day 3] Operation Making a Dapp Complete

Day 3, can you believe it?!? Feels like this year is already flying by to be completely honest. I completed my first blockchain application this morning and I am so excited! I named the app Ether Marketplace. The app allows you to connect a metamask wallet and buy/sell products with your account using the Ethereum network! How freaking cool.

All of my code can be found at this Github Repo

What did I do?

  • Linked the createProduct method from the smart contract to front end
  • Hooked up the purchaseProduct method from the smart contract to the front end
  • Created a form to create a product and list it
  • Created a table to display products that are for sale
  • Fixed a spelling error I found in the smart contract
  • Added a README

What did I learn?

  • Learned how to get a method from a smart contract
  • Learned how to send data to the smart contracts data
  • Learned how to get a receipt that is returned after the smart contract is completed

Any Side Notes?

  • This was an incredibly fun project and even though I was following a tutorial I still felt like I learned an incredible amount of knowledge and I am sooo excited to utilize this information on my own projects
  • Huge shoutout to Dapp University, I couldn't have done this without them and I am happy I found them and can use them as a free resource
  • Find them here

Top comments (0)