SatoshiPortal / boltz-rust

Boltz client rust crate
https://docs.boltz.exchange
30 stars 16 forks source link

Make the structs use stronger types #7

Closed i5hi closed 4 months ago

i5hi commented 6 months ago

This library started with the idea of being an ffi lib. It is now a pure rust crate which we will use to create a separate ffi library.

So avoid the usage of String in the types of this library and prefer stronger types directly from dependencies like bitcoin and/or elements

The ffi library can use these types internally and expose types with a String interface.

i5hi commented 6 months ago

Updated.

Reexport the required types.