Thanks. This was very useful for me.
Hi all, I’ve been stucked for a week now trying to figure out how best practice to do this payment processing. I wish to know how can I create transactions consuming exact UTXOs rather than allowing cardano-wallet to use other derived addresses balances to do it automagically. Do you know when multi account support for cardano-wallet would be available?
And I’m avoiding to use cardano-cli, as an API is what I need. I’m already using cardano-addresses to derive, but if I can avoid it by using cardano-wallet would be better for me. Thanks.
@franco I am working on the same thing and I am encountering the same issues as you do. I am using the same approach 1 order/invoice —> 1 new address, I keep a reference record of the order id and wallet address on an internal database e poll requests to check the wallet balance waiting for that amount to appear.
Since I want to show a QR code of the address I gotta create that wallet on the fly and keep it alive until the user pays, however there’s no guarantee the user will actually proceeds paying or that he will send the intended amount. Meta-fields on the json payload of a transaction would be the best solution but not an option if we want to leave the flexibility of paying from any external wallet and not a prepaid one on shopping website. I am not sure 100% but I think that also COTI is using a similar approach under the hood. Stopping the video posted by @adatainment at about 00:25 seconds you notice on the app screen there’s a time limit… that might be due of market volatility but I also think it’s put there to avoid having your server polling balance checks requests to the infinity.