Submits ledger commands and tracks the transaction in lastTx, fed by the SDK's txChanged
event. actAs defaults to the party useAccount reports, so a submit acts as the party the UI
shows rather than the wallet's own primary.
with no CantonConnectProvider above it, and from execute where nothing is
connected or no party is reported. A command that fails throws too, and lands in error.
Submits ledger commands and tracks the transaction in
lastTx, fed by the SDK'stxChangedevent.actAsdefaults to the partyuseAccountreports, so a submit acts as the party the UI shows rather than the wallet's own primary.