Web 3 coding Assignment

image

The error said that the account who is triggering the function, is not the owner, check that the metamask account that you are using on the dapp, its the one that deploy the contract?

usually when you deploy the contract on a truffle node, it will be deployed with the 1st account of the list of accounts delivered to you when you start the node (check the image on my old reply HERE), that account you should imported to your metamask (private key of each account is also delivered on the node start).

Let me know if it helps :nerd_face:

Carlos Z