Skip to content

Commit 1ecd85c

Browse files
Leo Weesegitbook-bot
Leo Weese
authored andcommitted
GITBOOK-486: change request with no subject merged in GitBook
1 parent e8f74f7 commit 1ecd85c

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
* [RFQ](lightning-network-tools/taproot-assets/rfq.md)
143143
* [Collectibles](lightning-network-tools/taproot-assets/collectibles.md)
144144
* [Universes](lightning-network-tools/taproot-assets/universes.md)
145+
* [Asset Loop](lightning-network-tools/taproot-assets/asset-loop.md)
145146
* [Debugging Tapd](lightning-network-tools/taproot-assets/debugging-tapd.md)
146147
* [Multisignature](lightning-network-tools/taproot-assets/multisignature.md)
147148
* [Minting Assets With an External Signer](lightning-network-tools/taproot-assets/minting-assets-with-an-external-signer.md)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
description: >-
3+
Loop Out your Taproot Asset channel balances into your onchain Bitcoin wallet
4+
to free up inbound liquidity.
5+
---
6+
7+
# Asset Loop
8+
9+
Starting from Loop v0.30-beta it is possible to perform a Loop Out directly using a Taproot Asset channel balance. Loop will perform an offchain payment to the Loop service via your Edge node. Loop will send BTC onchain to you.
10+
11+
To perform such a Loop Out, you need Taproot Assets in a channel with a peer performing edge node services. This peer needs outbound liquidity to the wider Lightning Network. It is not necessary to run `loopd` as part of `litd` for easy Autoloop to work.
12+
13+
The command `loop out` needs to specify the amount you expect to receive onchain in satoshis, the asset ID of the asset to be dispensed and the public key of the edge node. At this point it is only possible to Loop Out assets from a single channel.
14+
15+
`loop out --amt 250000 --asset_id c5dc35d9ffa03abcbd22d2d2801d10813970875029843039bf4f99d543d15fef --asset_edge_node 0312bddcf146394bf0805feef967e8485b8648c66065fe7345c4bc97eac8312df7`
16+
17+
Loop will display the quote received from your edge node to provide you with an estimate of how many Taproot Asset units you are expected to pay.
18+
19+
```
20+
Send off-chain: 250000000 Stablesigs
21+
Exchange rate: 1000.0000 Stablesigs/SAT
22+
Limit Send off-chain: 266995000 Stablesigs
23+
Receive on-chain: 247351 sat
24+
Estimated total fee: 2649 sat
25+
26+
Fast swap requested.
27+
28+
CONTINUE SWAP? (y/n): y
29+
Swap initiated
30+
ID: 4783f095351f2e7fb6d8eaf3c5bca66064349090d2b7795fca42ae2b144b02d7
31+
HTLC address: tb1ps4jl2l5rs44t6lsp3fkp73396pjsn0syxx9yjqqxktjmtmjtk52sc45drr
32+
33+
Run `loop monitor` to monitor progress.
34+
```
35+
36+
This feature is available on mainnet, testnet and signet. The usual Loop Out minimums and maximums apply. At this point the Loop node itself does not accept Taproot Asset channels.
37+
38+
## Easy Autoloop <a href="#docs-internal-guid-8ab27de6-7fff-8308-8d71-16e44d37d553" id="docs-internal-guid-8ab27de6-7fff-8308-8d71-16e44d37d553"></a>
39+
40+
Autoloop can also be configured with Taproot Assets. You can configure the `loop setparams` command for multiple Asset IDs. The settings will apply to all channels with these assets.
41+
42+
`loop setparams --asset_easyautoloop --asset_id c5dc35d9ffa03abcbd22d2d2801d10813970875029843039bf4f99d543d15fef --asset_localbalance 100000000`
43+
44+
[Read more: Configure Easy Autoloop](../loop/autoloop.md)

0 commit comments

Comments
 (0)