Plutonomicon / cardano-transaction-lib

A Purescript library for building smart contract transactions on Cardano
https://plutonomicon.github.io/cardano-transaction-lib/
MIT License
93 stars 50 forks source link

Consider submitting Tx with light wallet as well #767

Open klntsky opened 2 years ago

klntsky commented 2 years ago

I think we can just try to submit a Tx with Ogmios AND using a wallet. Since the Tx is the same, it will not result in a failure if we can guarantee that it does not land the chain (through Ogmios) before appearing in the wallet backend mempool, and vice versa.

But the advantage is that the wallet will be able to update the list of spent UTxOs

klntsky commented 1 year ago

Potentially helpful discussion https://discord.com/channels/907178289263681566/907569785611636757/1047574613699330088

klntsky commented 1 year ago

It may be that we'll be able to remove walletWaitForInputs hack. Need to check that.