Author

Topic: Looking for decent guides on how to open Segwit compliant wallets. (Read 212 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
May I ask one question? If I create a Segwit wallet on Electrum, can I use that wallet to send/receive bitcoins from Legacy wallets?
Kind of. Electrum jumped straight to using the new Bech32 address format for segwit addresses which only work with wallets that have implemented Bech32 support. There's a trick you can do to get the P2SH nested segwit addresses which are backwards compatible but are still segwit.

You can always send to non-segwit addresses.

Also, will I be able to use the Lightning Network?
No. You will need to use a software that supports the Lightning Network.
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
Ah, seems I misunderstood the question since a segwit implementation is already in bitcoin core.
Geez but is not really fleshed out so you have to do everything manually.
I believe full segwit support will come in the next update.


May I ask one question? If I create a Segwit wallet on Electrum, can I use that wallet to send/receive bitcoins from Legacy wallets? Also, will I be able to use the Lightning Network?
Segwit addresses and transactions are backwards compatible with legacy addresses (except in the case of "native segwit" addresses AKA Bech32 -- the ones that start with bc1)
Bech32 addresses are not backwards compatible with legacy software so you'll have to update your wallet to be able to SEND funds to such addresses of your wallet is not updated, but you can always RECEIVE funds from them.


Yes, you'll be able to use the lightning network with Segwit addresses.
IIRC you can only use the lightning network with Segwit addresses because they're the only ones with the transaction malleability fix which makes lightning work seamlessly.
jr. member
Activity: 56
Merit: 5
Umm, no. That's completely wrong. Electrum supports segwit out of the box. When you create a wallet, there is an option for Legacy or Segwit. Choosing Segwit lets you use bech32 addresses. It's super easy.

For Bitcoin Core, once 0.16.0 is released, it will use p2sh wrapped segwit by default.

May I ask one question? If I create a Segwit wallet on Electrum, can I use that wallet to send/receive bitcoins from Legacy wallets? Also, will I be able to use the Lightning Network?
full member
Activity: 177
Merit: 101
Ah, seems I misunderstood the question since a segwit implementation is already in bitcoin core.
staff
Activity: 3458
Merit: 6793
Just writing some code
There are none, only bitcoin core source code + bips + tests from https://github.com/bitcoin/bitcoin/tree/master/src/test/data
You'll need implement basic bitcoin first,  then bip143 hash (this gives bitcoin cash implementation almost for free), then p2sh, then segwit tx validation.
Umm, no. That's completely wrong. Electrum supports segwit out of the box. When you create a wallet, there is an option for Legacy or Segwit. Choosing Segwit lets you use bech32 addresses. It's super easy.

For Bitcoin Core, once 0.16.0 is released, it will use p2sh wrapped segwit by default.
hero member
Activity: 1138
Merit: 523
There are none, only bitcoin core source code + bips + tests from https://github.com/bitcoin/bitcoin/tree/master/src/test/data
You'll need implement basic bitcoin first,  then bip143 hash (this gives bitcoin cash implementation almost for free), then p2sh, then segwit tx validation.

UGH! And I need to make it grandparent friendly. I guess I'd better start writing then.
full member
Activity: 177
Merit: 101
There are none, only bitcoin core source code + bips + tests from https://github.com/bitcoin/bitcoin/tree/master/src/test/data
You'll need implement basic bitcoin first,  then bip143 hash (this gives bitcoin cash implementation almost for free), then p2sh, then segwit tx validation.
hero member
Activity: 1138
Merit: 523
staff
Activity: 3458
Merit: 6793
Just writing some code
What do you mean by "making electrum/core segwit compliant"? Do you mean how to make a segwit wallet with these software?
hero member
Activity: 1138
Merit: 523
The topic really says it all.
I'm looking for a decent guide/guides to making electrum/core segwit compliant.
I'd be happy to contribute a couple of translations (Chinese, Malay and Danish) to where ever the guides are posted.
Jump to: