I have looked a bit into this issues, and I don't think this change gets us anything.
The Lovelace type exported from Hydra.Cardano.Api (and Cardano.Api) don't have toData instances, so we would have to end up defining them ourselves. We would end up with more or less the same amount of code we have now, and we would be introducing orphan instances.
I have looked a bit into this issues, and I don't think this change gets us anything.
The Lovelace type exported from Hydra.Cardano.Api (and Cardano.Api) don't have toData instances, so we would have to end up defining them ourselves. We would end up with more or less the same amount of code we have now, and we would be introducing orphan instances.