thunderhub icon indicating copy to clipboard operation
thunderhub copied to clipboard

signet support for thunderhub

Open 7hacker opened this issue 3 years ago • 5 comments

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

7hacker avatar Jul 02 '21 04:07 7hacker

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 avatar Jul 04 '21 16:07 apotdevin

@apotdevin i will try this out and report back what i find, thanks very much!

7hacker avatar Jul 04 '21 19:07 7hacker

@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:

  1. Read the correct mempool for fees (currently fetches mainnet)
  2. 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.
  3. 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)

7hacker avatar Jul 04 '21 22:07 7hacker

would like to just be able to pass signet as network type and the lndDir to avoid having to explicitly path

rsafier avatar Aug 26 '21 16:08 rsafier

Can't create or pay invoices, perhaps because signet invoices start with 'lntbs...'? Getting these errors: ExpectedValidPaymentRequestForInvoice ExpectedValidPaymentRequestToPay

Keysend works though

musdom avatar Sep 06 '21 12:09 musdom