You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally, geneate the rawUserTransaction hex string:
144
+
Finally, generate the rawUserTransaction hex string:
145
145
146
146
```js
147
147
constpayloadInHex= (function () {
@@ -171,7 +171,7 @@ User can either `Reject` or `Confirm` this transaction.
171
171
172
172
> Tips: before user click either of these two buttons, the Dapp should display a Loading status.
173
173
174
-
## 4. Wait until the transaction was confirmed on the Starcoin blockchian, and display the result
174
+
## 4. Wait until the transaction was confirmed on the Starcoin blockchain, and display the result
175
175
176
176
A transaction must be confirmed by enough nodes, we can change this in the constant variable `MAX_CONFIRMED_NODES`.
177
177
We need to display a loading status, and long polling the staus of the transaction using `transactionHash`, and check the confirmations of the response, and cancle the loading status until confirmations is equal to or larger than `MAX_CONFIRMED_NODES`.
0 commit comments