LNP-BP / LNPBPs

LNP/BP standards for bitcoin layer 2 & 3 protocols
https://standards.lnp-bp.org
202 stars 39 forks source link

Multi-asset LN channels #72

Closed dr-orlovsky closed 3 years ago

dr-orlovsky commented 4 years ago

By providing both channel id and chain hash in all channel announcement messages LN allows multiple assets participating the same transaction.

Payment messages does not support chain hashes, however channels operating multiple assets on the same network can signal asset by providing chain hash (i.e. asset, not network, id) as a part of TLV data. One of the asset - the first in which the channel was set, or always a native asset - will be a default one. Alternatively it may be switched with a dedicated message.

Channel set up may be simplified by the fact that initial channel is created for a single asset only, and then new assets are added with a specific message.

dr-orlovsky commented 3 years ago

Implemented as a part of the first LNP Node