Dear GNU Taler developers,
My name is Fedi Jamoussi (
@eljamm) and I'm a
Summer of Nix 2024 participant working with (
@Atemu) on packaging Taler with Nix. Everything has been progressing smoothly since starting this endeavor, but w
e've recently run into a bit of a roadblock and we're hoping you can help us solve it.
So far, the core Taler components have already been packaged successfully in nixpkgs and have been recently
updated to version 0.13. Currently, we are working on a
NixOS module which will make setting up these components much easier and which already supports configuring the exchange, libeufin-{bank,nexus} and the merchant.
To showcase the capabilities of the module and provide an example of how it's configured, we've also made a
NixOS test where each component runs separately in a VM to simulate a real-world scenario in which multi-machine interactions are happening.
In this test, we're registering the services' accounts and instances, making a currency withdrawal to the CLI wallet and then using those coins to pay for a merchant's order.
The issue here is that the wallet is unable to pay for the order and instead prints an
"insufficient balance" message, even though the funds have been successfully withdrawn and are available. However, this doesn't happen when using the online
bank and
exchange demos with the same wallet and merchant.
As such, this leads me to believe that something is wrong or missing in the configuration of these two components or in how they're handling the transaction. There might also have been a step that we missed to make the wallet's funds spendable.
In this regard, I hope the
attached document, which contains the logs and configs, will help shed some light on the issue at hand
and if you need any further information, I'll be happy to provide it.
That said, I'm unfortunately nearing the limit of hours I have left in the SoN program, but I'd really like to solve this issue and have a fully-working basic example by that time. If we can accomplish this, then perhaps the NixOS module can accompany Taler's launch as an easy way to configure and test the program.
Thank you for the amazing work that you're doing. We're looking forward to your support.
--
Best Regards,
Fedi Jamoussi