I need to understand more about signing transactions. #1001
-
I need to understand more about signing transactions. Now after successfully deploying the contract and getting the correct contract info, I again see a similar behavior (halting) when a participant attaches to the contract and tries to make a call to any API function. The execution halts at the exact line of code that is supposed to make the call and receive feedback from the backed. But this time unlike previously, my pera wallet app does not show any prompt for me to "sign" the transaction. I suspect may be there is still some kind of "signing" I have to do which it keeps waiting for indefinitely. The promise never gets resolved, I forever wait for the response from the API function. You can checkout my code on github, specifically look at lines 28 - 36 inside src/dashboard.js |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Any time you tell Reach to make a publication or API call, then the user has to authenticate that they want this to happen. This is a signing. Reach will communicate to your wallet, which is in charge of taking control of the application interface and telling the user that this needs to happen. Reach cannot control this process, because it has no access to the wallet's display at all. This is a security feature of Web3 progams. |
Beta Was this translation helpful? Give feedback.
Any time you tell Reach to make a publication or API call, then the user has to authenticate that they want this to happen. This is a signing. Reach will communicate to your wallet, which is in charge of taking control of the application interface and telling the user that this needs to happen. Reach cannot control this process, because it has no access to the wallet's display at all. This is a security feature of Web3 progams.