What is the technical difference between BTC and LN wallets? Are they generated via a diferrent algorithm or format?

1 Answer 1


A Bitcoin wallet mainly maintains your private keys and keeps track of the transactions associated to the corresponding public keys or the addresses. The Bitcoin wallet will also help you broadcast your signed transactions.

A lightning wallet does all the same but additionally it follows the lightning network protocol meaning it helps you set up Revocable sequence maturity contracts which are used to construct a payment channel. They are created by a sequence of signed but not broadcasted transactions and revocation keys. The hashed time lock contracts wish are used for routing are maintained in a similar way. All of this is the so called channel state and stored privately in a database of your computer. This state is needed in addition to your private keys to access your funds.

  • I see, so both generate addresses that are derived from the same pattern of private key using the same algorithm?
    – sigmaxf
    Mar 11, 2019 at 22:55
  • That depends. Lightning uses HD washers to derive all keys. Bitcoin wallets might have different key derivation. Also lightning keys are all segwit where as a Bitcoin wallet could use the old non segwit keys / addresses. Mar 11, 2019 at 23:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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