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?


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.


Hi everyone, i just came up with this question: what kind of projects make a really interesting portfolio for new devs ??

The one where you can show all your skills.
Are you able to interact with other contracts? Are you able to interact with DEFI?
Are you able to code a cool front and back end?

These are the things all interesting things.

Good luck,

1 Like

Thanks dani, i will look into that for my next project!