Hi, I was wondering if I understood how local variables work correctly on Algorand. To my understanding, when an account opts into a contract, the variable is added to the accounts balanced record.
Does this mean that the local variable is stored in the users wallet? If the local variable isn’t on the blockchain does this mean a user could manipulate their own local variables without interacting with the application?
I’m asking this question because I’m wondering if I’m able to design an app where the user takes on certain local variables but am worried about whether the users can manipulate their own local variables to their advantage (e.g. a contract or a loan where the amount stored is local per a user).