breez / breez-sdk-docs

Breez SDK documentation
5 stars 8 forks source link

On-chain operations assume a baseline knowledge of submarine swaps #113

Closed rustaceanrob closed 9 months ago

rustaceanrob commented 11 months ago

I was unaware of the nomenclature of submarine swaps before working with the SDK. I think it is fair to assume some developers will come from a non-LN background and might find this confusing. A potential revision would be an introduction to submarine swap-ins and outs prior to diving into receiving and sending on-chain.

I can start working on this in the evenings if the maintainers agree.

ok300 commented 10 months ago

Hey @rustaceanrob thanks for the feedback.

The nomenclature around swaps went through several iterations, it's now

We tried to include a concise description of what it's happening ("send / receive on-chain tx") as well as the simplified swap title ("swap-in / swap-out").

It's useful to look at it from the perspective of LN. Thus:

Would you say the doc links above are clear enough on this?

rustaceanrob commented 9 months ago

Yes the base case and alternative results are quite clear now. Thanks for the update!