Skip to content

Commit

Permalink
reword
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Bate <[email protected]>
  • Loading branch information
Dhaiwat10 and danielbate authored Dec 24, 2024
1 parent ab0b6ca commit 76b97dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/src/guide/contracts/optimising-contract-calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The below flowchart shows this entire process:

The SDK will prepare the contract call _after_ the user has submitted the transaction at the application level. This is so the transaction is funded in it's finalised state. However this makes the chain feel slower than it actually is as we are making two network requests.

This can be mitigated by preparing the contract call _before_ the user presses 'Submit Transaction'. If the transaction is prepared beforehand, the SDK only has to send the transaction to the network and wait for it to be confirmed. This reflects the actual speed of the chain to the user.
This can be mitigated by preparing the contract call _before_ the user submits the transaction. If the transaction is prepared beforehand, the SDK only has to send the transaction to the network and wait for it to be confirmed. This reflects the actual speed of the chain to the user.

You can experience this yourself by trying out this [demo](https://fuel-wallet-prefetch-experiment-75ug.vercel.app/).

Expand Down

0 comments on commit 76b97dd

Please sign in to comment.