Open otech47 opened 1 year ago
I've managed to get it running with this config (from a working copy of our compose file):
command:
- 'litd'
- '--httpslisten=0.0.0.0:8444'
- '--insecure-httplisten=0.0.0.0:8443'
- '--uipassword=password'
- '--lnd-mode=remote'
- '--network=regtest'
- '--remote.lit-debuglevel=debug'
- '--remote.lnd.rpcserver=stacker_lnd:10009'
- '--remote.lnd.macaroonpath=/lnd/data/chain/bitcoin/regtest/admin.macaroon'
- '--remote.lnd.tlscertpath=/lnd/tls.cert'
- '--autopilot.disable'
- '--pool.auctionserver=test.pool.lightning.finance:12010'
- '--loop.server.host=test.swap.lightning.today:11010'
We run a regtest network without polar, but I suspect something like this should work in polar. The subserver part is the ugliest bit.
The config options are documented in code well: https://github.com/lightninglabs/lightning-terminal/blob/080c93429e872a4c305b9fc422892f3f2ea8c439/config.go#L149-L227
Seems like it may be possible (https://github.com/lightninglabs/lightning-terminal/issues/359#issuecomment-1207956072) currently to run
litd
on regtest (with any risks?) but at least for development purposes it would be great if the README or some other doc detailed how to get this runningI tried to get it working with Polar and blocked by some issue with the macaroon service. Not 100% sure if this can be solved from
litd
or maybe something specific to Polar... leaving this here in case it is helpful or if anyone can solve itGetting error
error starting macaroon service: unable to unlock macaroon DB: invalid password
with specs:
OSX 12.6 (Apple M1 ARM) Polar 1.4.0 Docker 4.13.0 LND (tried with custom LND , and
v15.2
) LitD (v0.8.2-alpha
commit)