Closed ghost closed 3 years ago
UPDATE: after much testing I found you can copy the /client directory from the chapter-5 folder -- NOT the chapter 10-11 as suggested in the other issue. As a side note, you may run into issues with deploying the contract that the book does not cover: check two things: 1) the truffle-config.js deployment port number matches that shown under RPC in the ganache UI (mine was not the same shown in the book) 2) in ./client/src/utils/getWeb3.js -- make sure the http address here matches the RPC in ganache UI
The folder structure in your github repository doesn't align with with the copy/paste noted in the book (i.e., chapter 9 does not contain the required UI code for 'Greeter'...
EDIT: spelling. I solved my problem so am less mad but still, the fact that I had to scramble around for this UI code was VERY frustrating...