Solidity Programming Question

Is it possible to access and manipulate a contract variable from a js file on the front end without going through a contract function?

2 Likes

Hi @Haysoose, hope you are great.

From my understanding is not possible, to access and manipulate data of a contract, you have to ask a function of the contract to deliver you the variable value(s) or to change the value of a variable(s).

If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.

2 Likes