On one hand strong types make it harder to misue the API.
on the other hand, they require conversion on the implementers side. It could get even trickier if there are different versions of bdk-ffi and payjoin-ffi that want to work together but use different bitcoin-ffi versions.
Perhaps to compose these, we need a bdk-ffi that depends on payjoin-ffi with a feature gate so that the same bitcoin-ffi dependency can be used without duplication. @thunderbiscuit Have you given this any thought before?
_Originally posted by @DanGould in LtbLightning/payjoin-ffi#70 (comment)
_Originally posted by @DanGould in LtbLightning/payjoin-ffi#70 (comment)