From 0e97467771b75330275a0ccd927893c1cb98cf36 Mon Sep 17 00:00:00 2001 From: b0xxer Date: Tue, 6 Feb 2024 05:49:20 -0600 Subject: [PATCH] Update docs/liquid/liquid-part3.md --- docs/liquid/liquid-part3.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/liquid/liquid-part3.md b/docs/liquid/liquid-part3.md index 8f9ac5e..698c6a6 100644 --- a/docs/liquid/liquid-part3.md +++ b/docs/liquid/liquid-part3.md @@ -126,10 +126,9 @@ A full demo of the security features would require their own DeepDive (hint hint There are two separate topics to go over with Liquid and Lightning. First is *L-BTC Lightning* (that is LN as a 2nd layer to Liquid). Secondly, the more familiar, how to interact with BTC Lightning from Liquid. -The first topic is [covered well by this blog post](https://medium.com/blockstream/getting-started-with-lightning-on-the-liquid-network-8b5682752ffe), effectively you use c-lightning and configure it to use `liquid` as its chain. Then you can open channels from your Elements node and send LN invoices that hold L-BTC (and presumably other assets). While this is interesting, there is no pressing use for it at the moment since we can *already send real BTC* over LN. +The first topic is [covered well by this blog post](https://medium.com/blockstream/getting-started-with-lightning-on-the-liquid-network-8b5682752ffe), effectively you use c-lightning and configure it to use `liquid` as its chain. Then you can open channels from your Elements node and send LN invoices that hold L-BTC (and presumably other assets). While this is interesting, there is no pressing use for it at the moment since we can *already send real BTC* over LN. However, it does highlight the essential "bitcoin nature" of Liquid -- L2's that work with Bitcoin also work with Liquid. ## Using Liquid with BTC / LN - What if you have no desire to create tokens, securities, etc...can you still make use of Liquid? **Yes, probably one of the best ways to do that is to use it as a *staging area* for opening Lightning channels**. (In fact, both Blockstream Green and the newly announced AQUA both do that under-the-hood[^5]). @@ -168,8 +167,13 @@ There are a few different solutions for peg-out, but sadly all require a 3rd par * sideswap.io (defi) * Use a wallet that integrates to one of the above (AQUA) -For my case, I will use sideswap.io since its non-kyc and doesn't require any account. +For my case, I will use sideswap.io as a demo. +``` +$ sudo ~/scripts/app compose elements exec node elements-cli -rpcuser=$E_RPCUSER -rpcpassword=$E_RPCPASS -named sendtoaddress address="VJLGBLED..." amount=0.0011 fee_rate=0.1 assetlabel="bitcoin" + +1bf3623924328b22e7b2ae1d7a9fd8bc2879d4cacabd9ba7e2fe0299fe26301e +``` # Final Discussion and Ideas