Why is a normal Bitcoin wallet not an atomic swap engine?
Cross-asset exchange requires both sides to receive or neither side to receive, under a defined protocol. Study HTLC-based and other swap designs as separate protocol components; use the wallet for the Bitcoin transfer portions where compatible.
Full engineering study
[Why a Bitcoin Wallet Is Not an Atomic Swap Engine](/blog/why-a-bitcoin-wallet-is-not-an-atomic-swap-engine)
