Tutorial como chamar o comando lncli (e você pode fazer o mesmo com bitcoin-cli) direto de qualquer diretório no seu terminal no Umbrel:
1- $ nano ~/.bashrc
2- Adicione na última linha:
alias lncli='~/umbrel/scripts/app compose lightning exec lnd lncli'
3- Saia salvando com Ctrl+X, depois Y e de Enter
4- Recarregue o arquivo com: source ~/.bashrc ou saia da sessão do terminal e entre novamente
5- Rode o comando de qualquer lugar apenas com: $ lncli
1- $ nano ~/.bashrc
2- Adicione na última linha:
alias lncli='~/umbrel/scripts/app compose lightning exec lnd lncli'
3- Saia salvando com Ctrl+X, depois Y e de Enter
4- Recarregue o arquivo com: source ~/.bashrc ou saia da sessão do terminal e entre novamente
5- Rode o comando de qualquer lugar apenas com: $ lncli
And how does this help?
Well... if you want to fill a channel on your side but it's difficult to rebalance, you encourage a discount for that specific peer to route for you, causing liquidity to go to your side, bringing you outbound (sending capacity)
This way you can encourage rebalancing your channels without changing the oRate of others and unbalancing your node and without using the circular route which is a cancer in Lightning
I firmly believe that this will be a major milestone for LN in terms of liquidity management