Bitcoin Forum
May 01, 2024, 11:49:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Looking for decent guides on how to open Segwit compliant wallets.  (Read 188 times)
Bigpiggy01 (OP)
Hero Member
*****
Offline Offline

Activity: 1138
Merit: 523



View Profile WWW
January 15, 2018, 10:12:11 AM
 #1

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.

                         ▄▄▄█
              ▄▄▄▄▄▄▄██████▀
      ▄▄█████████████████▀  ▄█
   ▄██████████████████▀ ▄▄██▀
  ███████████████▀▀  ▄▄█▀▀
 ███████████▀▀▀     ▀▀
 ██████▀▀   ▄    █
 ███▀  ▄▄████   ▐█
 █▀   ▄████▀   ▄█▌
      ▀▀▀    ▄██▌
▐▄ ▀█▄▄  ▄▄████▀
██▀  ▀▀█████▀▀
▐▌
RAPTOREUM
  TOKENIZING THE WORLD!
  ██▀
▐▌
▐║
▐║
▐▌
██▄
[ POW Algorithm: GhostRider    Anti-FPGA/ASIC ]
Assets/Tokens Masternodes Smart Contracts

.51% / Double Spend Protection, Instant Speed, Private Send.
▀██
▐▌
║▌
║▌
▐▌
▄██
█▀





█▄
◈ ──  SOCIAL MEDIA ─── ◈
Reddit Telegram Discord
Twitter  Medium GitHub
▀█
  █
  █
  █
  █
  █
▄█
1714607362
Hero Member
*
Offline Offline

Posts: 1714607362

View Profile Personal Message (Offline)

Ignore
1714607362
Reply with quote  #2

1714607362
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714607362
Hero Member
*
Offline Offline

Posts: 1714607362

View Profile Personal Message (Offline)

Ignore
1714607362
Reply with quote  #2

1714607362
Report to moderator
1714607362
Hero Member
*
Offline Offline

Posts: 1714607362

View Profile Personal Message (Offline)

Ignore
1714607362
Reply with quote  #2

1714607362
Report to moderator
1714607362
Hero Member
*
Offline Offline

Posts: 1714607362

View Profile Personal Message (Offline)

Ignore
1714607362
Reply with quote  #2

1714607362
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6571


Just writing some code


View Profile WWW
January 15, 2018, 06:03:18 PM
 #2

What do you mean by "making electrum/core segwit compliant"? Do you mean how to make a segwit wallet with these software?

Bigpiggy01 (OP)
Hero Member
*****
Offline Offline

Activity: 1138
Merit: 523



View Profile WWW
January 16, 2018, 03:35:00 PM
 #3

Exactly  Grin


                         ▄▄▄█
              ▄▄▄▄▄▄▄██████▀
      ▄▄█████████████████▀  ▄█
   ▄██████████████████▀ ▄▄██▀
  ███████████████▀▀  ▄▄█▀▀
 ███████████▀▀▀     ▀▀
 ██████▀▀   ▄    █
 ███▀  ▄▄████   ▐█
 █▀   ▄████▀   ▄█▌
      ▀▀▀    ▄██▌
▐▄ ▀█▄▄  ▄▄████▀
██▀  ▀▀█████▀▀
▐▌
RAPTOREUM
  TOKENIZING THE WORLD!
  ██▀
▐▌
▐║
▐║
▐▌
██▄
[ POW Algorithm: GhostRider    Anti-FPGA/ASIC ]
Assets/Tokens Masternodes Smart Contracts

.51% / Double Spend Protection, Instant Speed, Private Send.
▀██
▐▌
║▌
║▌
▐▌
▄██
█▀





█▄
◈ ──  SOCIAL MEDIA ─── ◈
Reddit Telegram Discord
Twitter  Medium GitHub
▀█
  █
  █
  █
  █
  █
▄█
Valle
Full Member
***
Offline Offline

Activity: 177
Merit: 101


View Profile
January 17, 2018, 06:10:55 AM
 #4

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.
Bigpiggy01 (OP)
Hero Member
*****
Offline Offline

Activity: 1138
Merit: 523



View Profile WWW
January 17, 2018, 10:06:10 AM
 #5

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.

                         ▄▄▄█
              ▄▄▄▄▄▄▄██████▀
      ▄▄█████████████████▀  ▄█
   ▄██████████████████▀ ▄▄██▀
  ███████████████▀▀  ▄▄█▀▀
 ███████████▀▀▀     ▀▀
 ██████▀▀   ▄    █
 ███▀  ▄▄████   ▐█
 █▀   ▄████▀   ▄█▌
      ▀▀▀    ▄██▌
▐▄ ▀█▄▄  ▄▄████▀
██▀  ▀▀█████▀▀
▐▌
RAPTOREUM
  TOKENIZING THE WORLD!
  ██▀
▐▌
▐║
▐║
▐▌
██▄
[ POW Algorithm: GhostRider    Anti-FPGA/ASIC ]
Assets/Tokens Masternodes Smart Contracts

.51% / Double Spend Protection, Instant Speed, Private Send.
▀██
▐▌
║▌
║▌
▐▌
▄██
█▀





█▄
◈ ──  SOCIAL MEDIA ─── ◈
Reddit Telegram Discord
Twitter  Medium GitHub
▀█
  █
  █
  █
  █
  █
▄█
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6571


Just writing some code


View Profile WWW
January 17, 2018, 06:29:37 PM
Merited by ABCbits (1)
 #6

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.

Valle
Full Member
***
Offline Offline

Activity: 177
Merit: 101


View Profile
January 18, 2018, 03:03:27 AM
 #7

Ah, seems I misunderstood the question since a segwit implementation is already in bitcoin core.
superbotolo
Jr. Member
*
Offline Offline

Activity: 56
Merit: 5


View Profile
January 18, 2018, 03:46:27 AM
 #8

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?
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
January 18, 2018, 07:39:18 AM
 #9

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.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6571


Just writing some code


View Profile WWW
January 21, 2018, 02:55:56 AM
 #10

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!