Bitcoin Forum
August 18, 2019, 02:02:55 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: Difference between SegWit addresses  (Read 4577 times)
cfbtcman
Jr. Member
*
Offline Offline

Activity: 218
Merit: 9


View Profile
August 06, 2019, 12:16:12 AM
Merited by OmegaStarScream (1), ETFbitcoin (1)
 #61

Hy guys,

I hope you give me some help, i was reading this posts but i still with doubts!

Im thinking about trying Segwit Addresses because we pay less fee and is suposed to be the future but im confused.

I noticed there is 2 types of Segwit addresses starting by bc1, like for example in this webpage:

https://allprivatekeys.com/bitcoin-address-format

SegWit mainnet (P2WPKH address): bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4

and

SegWit mainnet (P2WSH address): bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3


What are diferences between this 2 and where can i use a online address generator for both?

I can only find for 1st example in this website:

https://segwitaddress.org/bech32/#entropyRef
1566136975
Hero Member
*
Offline Offline

Posts: 1566136975

View Profile Personal Message (Offline)

Ignore
1566136975
Reply with quote  #2

1566136975
Report to moderator
1566136975
Hero Member
*
Offline Offline

Posts: 1566136975

View Profile Personal Message (Offline)

Ignore
1566136975
Reply with quote  #2

1566136975
Report to moderator
1566136975
Hero Member
*
Offline Offline

Posts: 1566136975

View Profile Personal Message (Offline)

Ignore
1566136975
Reply with quote  #2

1566136975
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1566136975
Hero Member
*
Offline Offline

Posts: 1566136975

View Profile Personal Message (Offline)

Ignore
1566136975
Reply with quote  #2

1566136975
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1862
Merit: 2645


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
August 06, 2019, 02:09:48 AM
Merited by bones261 (2), ETFbitcoin (1)
 #62

Hy guys,

I hope you give me some help, i was reading this posts but i still with doubts!

Im thinking about trying Segwit Addresses because we pay less fee and is suposed to be the future but im confused.

I noticed there is 2 types of Segwit addresses starting by bc1, like for example in this webpage:

https://allprivatekeys.com/bitcoin-address-format

SegWit mainnet (P2WPKH address): bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4

and

SegWit mainnet (P2WSH address): bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3


What are diferences between this 2 and where can i use a online address generator for both?

I can only find for 1st example in this website:

https://segwitaddress.org/bech32/#entropyRef
The first one is for P2WPKH: Pay to witness pubkey hash. This is your standard address type where you have a pubkey and can spend using that pubkey. The second type, P2WSH, is Pay to witness script hash. This is for anything else where you want to have some sort of script, such as multisig.

The distinction between the two types is exactly the same as the distinction between P2PKH and P2SH addresses. P2WPKH is analogous to P2PKH and P2WSH is analogous to P2SH.

Just like traditional P2SH (ignore Segwit wrapped P2SH), you can't just generate a P2WSH address from a private key. You need to have a script which then becomes the P2WSH address.

Pages: « 1 2 3 [4]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!