mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-26 09:31:18 -05:00

This is not really a factory as a factory design pattern is about producing several instances. In the current usage, we are only interested in one swap instance. Once the swap instance is created, the factory becomes useless. Hence, it is more of a builder pattern.