# LNHANCE bips and implementation

**URL:** <https://delvingbitcoin.org/t/lnhance-bips-and-implementation/376>\
**Category:** Protocol Design\
**Created:** [January 7, 2024, 6:40pm UTC](https://delvingbitcoin.org/t/lnhance-bips-and-implementation/376 "2024-01-07T18:40:08Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![cryptoquick](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/cryptoquick/32/977_2.png) [@cryptoquick](https://delvingbitcoin.org/u/cryptoquick)\
**Post date:** [March 15, 2024, 7:14pm UTC](https://delvingbitcoin.org/t/lnhance-bips-and-implementation/376/16 "2024-03-15T19:14:56Z")

</div>

Hi, I’ve made a modified version of rust-bitcoin-script that can do an implementation of LN symmetry script, so anything that needs the bytes for script somewhere can easily get the right format.

> <https://github.com/cryptoquick/rust-bitcoin-script/blob/1a7e1742b3a699fa5a021a73211e36d92a2c3bd5/tests/test.rs#L26-L44>

Forgive me if my byte counts are off in the example, I wasn’t sure of the exact inputs.

I don’t yet have support for IK, but I think that’s a Taproot thing anyway, so not the same as script.

Thanks to @cguida for nudging me towards doing this. He’ll be using this or something like it in trying to make an LNHANCE CLN plugin.

---

_[View the full topic](https://delvingbitcoin.org/t/lnhance-bips-and-implementation/376)._
