Please describe the feature you’d like to see added.
Hi, I’d like to restart development on BIP-199: https://en.bitcoin.it/wiki/BIP_0199
It was previously started as [PR #7601](https://github.com/bitcoin/bitcoin/pull/7601) which was then abandoned.
Is there any interest in getting this implemented? If so, I can start a PR and begin contributing.
Is your feature related to a problem, if so please describe it.
BIP-199 was never fully implemented in Bitcoin Core.
Describe the solution you’d like
I’d like to use pay-to-public key addresses to implement the feature so that the full script is on-chain. Otherwise, we would run into the problem of how to store the script, which contains refund and redeem addresses + a hash that would need to be stored on disk somewhere.
Describe any alternatives you’ve considered
Using Segwit witness scripts to generate the HTLC. I believe this would be the an inferior implementation because the full script would then have to be stored on disk. Loss of this data would lead to loss of ability for the refunder to claim a refund of the contract.
Please leave any additional context
I am the author of the NPM library for BIP-199: ( https://www.npmjs.com/package/bip-199 ), so I have some experience with this feature.