thunderhub
thunderhub copied to clipboard
signet support for thunderhub
Is your feature request related to a problem? Please describe. I'd like to be able to use thunderhub to teach/onboard folks onto bitcoin lightning network. Using real sats is far too expensive, testnet is not that predictable, regtest is a single node env, so signet seems to be the only remaining and actual test network for this purpose. mempool.space has a signet explorer too, which can work nicely when the channel open / close transactions are linked. Peer public keys may not work, amboss may return a 404 but thats fine and I can file a bug on them as well :) (besides I think its Tony working on that too :) )
Describe the solution you'd like Specify signet as a network in the defaultNetwork config
Describe alternatives you've considered I havent considered any yet
Hey, have you tried passing the connection details for your signet node in the account config file?
serverUrl: 'url:port'
macaroonPath: '/path/to/admin.macaroon'
certificatePath: '/path/to/tls.cert'
@apotdevin i will try this out and report back what i find, thanks very much!
@apotdevin it works! no mods necessary just pointed at the correct macaroon and tls.cert file.
Although some parts of Thunderhub need to be updated if it connects to signet:
- Read the correct mempool for fees (currently fetches mainnet)
- For transaction lookup links, it connects to mempool.space mainnet lookup instead of signet . so the transaction is not found but if you copy paste the transaction into the signet explorer you do find it.
- Similarly the peer node links go to Amboss where its clearly a 404
Is this something you want to track, i can open issues (i'll open one here and one on amboss)
would like to just be able to pass signet as network type and the lndDir to avoid having to explicitly path
Can't create or pay invoices, perhaps because signet invoices start with 'lntbs...'? Getting these errors:
ExpectedValidPaymentRequestForInvoice
ExpectedValidPaymentRequestToPay
Keysend works though