loopd
client that wants to do a loop out swap with the Lightning Lab's loop server.loop out <amount>
and hit return.loopd
client program contacts the loop server to initiate the swap.aperture
. The authentication proxyaperture
instructs its own lnd
instance to create an invoice over a smallaperture
also creates a fresh access token that is402 Payment Required
.loopd
understands this returned error code, extracts the invoice fromlnd
instance to pay theloopd
client now possessing the