Tangem Wallet Pack of 2 - Secure Crypto Wallet - Trusted Cold Storage for Bitcoin, Ethereum, NFT's &

Tangem Wallet Pack of 2 - Secure Crypto Wallet - Trusted Cold Storage for Bitcoin, Ethereum, NFT's &
Key item features Ultimate Security: Generates a private key that remains on the card, safeguarding crypto and NFTs from hackers with EAL6+ certification and audited firmware. Versatile Compatibility: Manages over 13,000 tokens across 70+ blockchains, supporting DeFi, NFTs, and DeEx without wires, Bluetooth, or USB. Effortless Operation: Utilizes NFC for secure transactions via a mobile device and the Tangem app, enabling buying and selling crypto with various payment methods. Smart Backup: Features a second Tangem Wallet as a backup, eliminating the need for paper, pictures, or seed phrases for recovery. Durable Design: Boasts IP68 protection against environmental conditions, ensuring longevity and robust physical security. Comprehensive Support: Compatible with Bitcoin, Ethereum, Solana, XRP, USDT, and over 6,000 cryptocurrencies, integrating with dApps and WalletConnect.

LBANK

How Lightning Labs "loop in" with p2tr work?

I was sure that I'm generally know how submarine swaps work, but it seems like I need a serious update to my knowledge. Maybe it's some new taproot magic.

When I do a "loop in" on modern lnd/loop/loopd, I get a p2tr address to which I send the payment. Let's consider such an address for one of my own loop ins.

I expected that for a submarine swap, the side who does "loop in" gets a hash for an unknown preimage for making the invoice. Then I make an invoice, receive a "payment" (which I cannot redeem until I learn the preimage), then I send payment to an on-chain address that can be sweeped by my loop counterparty only by revealing the preimage. The counterparty sweeps, I see the preimage, I settle the invoice, all done.

What I really see is that after my on-chain payment gets approximately 3 confirmations, nobody sweeps the destination p2tr address, but I get my invoice settled and lnd channel balance topped up. Several hours later I see a transaction sweeping that p2tr address among others, but the transaction seems not to use any "script path" (I'm unsure on this part, maybe mempool.space just can't display taproot scripts).

How did I get the incoming lightning payment before the on-chain destination was swept? Is it some optimized happy path for loop in, maximizing privacy and user satisfaction?

I suppose that loop in is non-custodial, otherwise my questions don't make sense. Please correct me here if I'm wrong.



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/8AsaEeq
via IFTTT

Popular posts from this blog

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Nigerian SEC Partners With Police To Tackle Crypto Ponzi Schemes – Details