Closed 0xproflupin closed 10 months ago
This PR adds waitForCommitmentToSendNextTransaction to SolanaSignAndSendTransactionOptions.
waitForCommitmentToSendNextTransaction
SolanaSignAndSendTransactionOptions
This is to support serial transaction submission using solana:signAndSendTransaction.
solana:signAndSendTransaction
false
true
I'll be closing this PR for now and will continue the discussion regarding serial submissions at a later point, when we have a better understanding of dapp requirements and use-cases of this submission type.
This PR adds
waitForCommitmentToSendNextTransaction
toSolanaSignAndSendTransactionOptions
.This is to support serial transaction submission using
solana:signAndSendTransaction
.waitForCommitmentToSendNextTransaction
helps wallets understand if a given transaction should be sent serially or concurrentlyfalse
, wallets don’t wait for confirmation, and it acts as concurrent. iftrue
, wallets wait and it acts as serial.