2

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

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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