Closed pfergi42 closed 4 years ago
Hey @pfergi42, listauth
is a loop
command.
Try this (change the paths to the cert and macaroon if necessary)
loop listauth --rpcserver=localhost:10009 --tlscertpath=$HOME/.lnd/tls.cert --macaroonpath=$HOME/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
It is safe to delete or rename the LSAT file. A new one will be regenerated.
Thank you. When I run that command (after changing path to cert) I get this error:
Incorrect Usage: flag provided but not defined: -rpcserver
On Fri, Sep 11, 2020 at 8:59 PM Jamal James notifications@github.com wrote:
Hey @pfergi42 https://github.com/pfergi42, listauth is a loop command.
Try this (change the paths to the cert and macaroon if necessary)
loop listauth --rpcserver=localhost:10009 --tlscertpath=$HOME/.lnd/tls.cert --macaroonpath=$HOME/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
It is safe to delete or rename the LSAT file. A new one will be regenerated.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lightninglabs/lightning-terminal/issues/117#issuecomment-691400785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6VX6HUXKCEH7TBPFP5ASLSFLW2JANCNFSM4RIR26OQ .
Incorrect Usage: flag provided but not defined: -rpcserver
This could be one of two things:
--rpcserver
flag requires two dashes --
. You only show one in the output.loop v0.8.5-beta
binary that is packaged in the downloadable release from github or do you compile from source? If you compile, be sure to also clone & compile the latest v0.9.0-beta
loop CLI or download it from the loop repo.Also, you can also just look in the .loop
dir manually. This is where the pending LSAT token files are stored.
Depending on your OS, it'll be in one of these locations:
the --rpcserver flag requires two dashes --. You only show one in the output.
I was using two dashes, it's just the error message only shows one.
Also, you can also just look in the .loop dir manually. This is where the pending LSAT token files are stored.
Thank you, I was able to find it on my Ubuntu machine in the ~/.loop/ directory. I deleted the LSAT token and tried again, but then I get this "insufficient balance" error, however, I do have sufficient on-chain balance. I'm attempting to Loop In 300,000 sats:
Perhaps I'm misunderstanding something fundamental here? This channel already exists and has only receiving capacity. Can the "loop in" actually increase the overall size of the channel capacity?
The problem is not the loop in itself but the LSAT authentication that is required to access the loop service in general. You have to be able to pay 1 satoshi to get access to the service (this is a one-time payment, the token will not expire). So in a situation like yours where you only have outbound capacity and "can send" of 0, you cannot pay for the token. This is an edge case that we somehow have to solve.
You can contact me on Slack and I'll pay you an invoice of a few Satoshis so you can use the loop service.
Thanks for you help @guggero. With a little sending capacity I was able to get this going.
Perhaps a suggestion or possible feature request: with the LSAT token, because it's regenerated every time it's needed, perhaps the Loop binary can delete it for the user and regenerate it so that error doesn't occur for future users?
I have litd up and running and my first channel opened. I only have receiving capacity so I'm trying to do a LOOP IN, but I get this error:
It suggests to use 'listauth' to find the token file name. Is listauth a lncli or litd command?
What token file is this referring to?
Thank you in advance.