Asset Loop
Loop Out your Taproot Asset channel balances into your onchain Bitcoin wallet to free up inbound liquidity.
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.
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.
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.
loop out --amt 250000 --asset_id c5dc35d9ffa03abcbd22d2d2801d10813970875029843039bf4f99d543d15fef --asset_edge_node 0312bddcf146394bf0805feef967e8485b8648c66065fe7345c4bc97eac8312df7
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.
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.
Easy Autoloop
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.
loop setparams --asset_easyautoloop --asset_id c5dc35d9ffa03abcbd22d2d2801d10813970875029843039bf4f99d543d15fef --asset_localbalance 100000000
Last updated
Was this helpful?