RedSquirrelTech / hoscdev

Code for Hands on Smart Contract Development. We recommend https://quickbeam.xyz/ for a more interactive learning experience. (discount code: HOSCDEV100)
http://shop.oreilly.com/product/0636920216018.do
137 stars 51 forks source link

ISSUE with UI after deployment to development network #76

Closed henrytirla closed 2 years ago

henrytirla commented 2 years ago

Hello after deployment to the development network, I do not see the expected string response and the input box is unresponsive, Here is a link to the Github repository of my code https://github.com/henrytirla/Hands-on-smart-contract-development-with-solidity.git. Any help to understand why this doesn't work will be very much appreciated.

Best regards

henrytirla commented 2 years ago

Also, I realize for my contract to deploy I will have to type. $truflle develop, then use the first address as from on the truffle config js file and then deploy by typing migrate --network development. How can I get my contract to deploy from ganache-generated addresses?

well I solved this by using the RPC server details of the ganache
RPC SERVER HTTP://127.0.0.1:7545