4

I want to experience the lightning network transactions with my Electrum wallet. But the lightning network is not available, and it shows the following information:

"Lightning is currently restricted to HD wallets with p2wpkh addresses."

What are p2wpkh addresses? I generated my multisig wallet with all the addresses starting with "bc1". Why cannot I use the lightning network with these addresses?

1 Answer 1

2

On a principle / technical level I see no reason why it should not work as you propose. However I see engineering Challenges:

  1. The workflow of funding channels and (more importantly swiping on chain data if everything is sent to multisig addresses and requires your multisig partner to sign) would require way more communication overhead and dataflow.
  2. Note also that there is a statement in the lightning-rfc (i believe in BOLT 03) stating that all tx needs to be p2whitness transactions (meaning segwit) so having / maintaining different Address types in your wallet might increase the complexity to handle them.

Thus I assume it was easier for the electrum developers to restrict themselves to this particular wallet type to be compatible with lightning network.

Not the answer you're looking for? Browse other questions tagged or ask your own question.