Hi friends, it's been a long time since I worked with the chainSafe sdk and I have seen that there are many changes. I am trying to do a sendContract and when the user confirms the transaction in metamask, update the UI text. This in version 1.6 was very easy to do, but in the current version I can't do it.
Can you give me a hand?
#Update UI when user accepts transaction in metamask
1 messages · Page 1 of 1 (latest)
you can have a look at our samples section of the docs 🙂 https://docs.gaming.chainsafe.io/current/sample-scripts#contract-send
you can make changes after the comments as the function will reach that point after the transaction is complete
yes, but I need to make the change before the transaction is completed, I need to do it just when the user clicks on the confirm button in metamask.
that is when you press confirm 🙂