Context:
I am exploring cross-chain transfers from Bitcoin to another network and want to avoid a common issue in HTLCs where users manage secrets and could potentially cause harm to liquidity providers (LPs).
Problem:
In typical HTLC implementations, the user locks funds first and then reveals a secret to claim the funds on another network. However, this can lead to a situation where a user creates an empty HTLC, causing the LP to lock funds. If the user then chooses not to continue the transaction, this can cause resource issues or even a denial-of-service (DoS) attack on the LP, as their funds are locked unnecessarily.
Question:
Is there any known protocol similar to HTLC that allows for cross-chain transfers from Bitcoin to other networks, but where secret management isn’t solely handled by the user? Additionally, how can the protocol ensure that users cannot maliciously lock LP funds without completing the process, thus preventing a potential DoS scenario?