0

When I developed DApp a few months ago, there was no edit function to change the amount or type of token to be sent to Metamask when creating contract, Today, I checked while developing another service and found that there was an edit function, so the user did not send a specific token amount as I intended, but modified it directly to test that the contract would occur without sending any tokens.

Is there a way to prevent the user from changing the intended token amount in edit, or is there a way to put logic to check if the number of tokens they want to send before the user confirmation is correct?

enter image description here

I googled a lot and looked for ways, but I couldn't find an answer to whether I was stupid.

TylerH
  • 20,799
  • 66
  • 75
  • 101

0 Answers0