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
I've seen a common misconception in typescript clients for many soloana projects
Please bear in mind, Solana supports batch processing transactions, in other words, as the long as these transcactions don't mutate the same account, they can be processed in batch, this is one important reason why solana is Faster.
But code in many clients only await the first transcation completes then starts next transcation.
As in the original code, it sequentially creates 3 mint, but in fact it doesn't have to wait for another.
In fact, it's a very good sample to sumbit them together using some javascript functions such as Process.all
This can shorten the overall executing time, even on local env, local-test-validator
The text was updated successfully, but these errors were encountered:
I've seen a common misconception in typescript clients for many soloana projects
await
the first transcation completes then starts next transcation.mint
, but in fact it doesn't have to wait for another.Process.all
local-test-validator
The text was updated successfully, but these errors were encountered: