Bitcoin Forum
October 31, 2024, 09:30:31 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Nested SegWit vs Native SegWit  (Read 213 times)
DUPONDIUS (OP)
Jr. Member
*
Offline Offline

Activity: 101
Merit: 9


View Profile
September 24, 2023, 08:28:52 PM
 #1

He!


The four main types of bitcoin addresses are:


1- Legacy (P2PKH): addresses start with a 1
2- Nested SegWit (P2SH): addresses start with a 3
3- Native SegWit (bech32): addresses start with bc1
4- Taproot (P2TR)  addresses begin with bc1p


1- Legacy is the oldest; he needs no introduction.

4- Taproot is too complex for newbies.



What advantages and disadvantages will I encounter if I use Nested SegWit?

What advantages and disadvantages will I encounter if I use Native SegWit?

I'm not talking about theory, I'm talking about reality.
Wallets, shipping and receiving of satoshis, etc
I'm inexperienced and I think the best thing for me is Nested SegWit.

Charles-Tim
Legendary
*
Offline Offline

Activity: 1722
Merit: 5190


Leading Crypto Sports Betting & Casino Platform


View Profile
September 24, 2023, 08:34:20 PM
Merited by pooya87 (2), bitmover (2)
 #2

Pay-to-taproot addresses are not complex for newbies. You only use a wallet that supports it and use it as the receiving address. Nothing more.

If you are the type that like consolidating your inputs, like after DCAing for a long time, the best for low fee consolidation is pay-to-taproot.

If you are the type that have many outputs in transactions, like paying many workers salary, segwit version o (bc1q) is better.

If the transaction you are seeing is having the same inputs and outputs, segwit version 0 is better.

Is better that I am referring too is the one that has low fee.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
hosseinimr93
Legendary
*
Offline Offline

Activity: 2576
Merit: 5658



View Profile
September 24, 2023, 09:06:37 PM
Merited by bitmover (1)
 #3

2- Nested SegWit (P2SH): addresses start with a 3
It may worth mentioning that not all addresses starting with 3 are segwit.
Addresses that start with 3 are p2sh (pay to script hash) and they can be nested segwit, multi-signature, time locked and so on.

What advantages and disadvantages will I encounter if I use Nested SegWit?
What advantages and disadvantages will I encounter if I use Native SegWit?
With using nested segwit addresses instead of legacy addresses, you can decrease the transaction fee up to 38% and with using native segwit addresses, you can decrase the transaction fee up to 53%.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
EL MOHA
Sr. Member
****
Online Online

Activity: 588
Merit: 292



View Profile
September 24, 2023, 09:07:22 PM
 #4

The both sigwit addresses have an advantage of reducing the transaction fees.

The nested segwit address is called a Pay-to-script-Hash (P2SH) and it’s  suitable for multi sig Wallet and can reduce transaction fees by 26%. It is compatible with both new and old softwares. The problem is not all software can get its message verified.

The native segwit is the mostly widely use address version because just like P2SH addresses it reduces transaction fee but this time more than Nested. It reduces the fees by almost 52%. It’s only major disadvantage is that it is not compatible with old wallets. Just like it said above it is best when sending to multiple addresses from one address

You can read about them here en.bitcoin.it












██
██
██████
R


▀▀██████▄▄
████████████████
▀█████▀▀▀█████
████████▌███▐████
▄█████▄▄▄█████
████████████████
▄▄██████▀▀
LLBIT
██████
██
██
██████
██
██
██
██
██
██
██
██
██
██
██
██████
██████████████
 
 TH#1 SOLANA CASINO 
██████████████
██████
██
██
██
██
██
██
██
██
██
██
██
██████
████████████▄
▀▀██████▀▀███
██▄▄▀▀▄▄████
████████████
██████████
███▀████████
▄▄█████████
████████████
████████████
████████████
████████████
█████████████
████████████▀
████████████▄
▀▀▀▀▀▀▀██████
████████████
███████████
██▄█████████
████▄███████
████████████
█░▀▀████████
▀▀██████████
█████▄█████
████▀▄▀████
▄▄▄▄▄▄▄██████
████████████▀
[
[
5,000+
GAMES
INSTANT
WITHDRAWALS
][
][
HUGE
   REWARDS   
VIP
PROGRAM
]
]
████
██
██
██
██
██
██
██
██
██
██
██
████
████████████████████████████████████████████████
 
PLAY NOW
 

████████████████████████████████████████████████
████
██
██
██
██
██
██
██
██
██
██
██
████
hosseinimr93
Legendary
*
Offline Offline

Activity: 2576
Merit: 5658



View Profile
September 24, 2023, 09:51:29 PM
 #5

The nested segwit address is called a Pay-to-script-Hash (P2SH) and it’s  suitable for multi sig Wallet and can reduce transaction fees by 26%.
A P2SH address isn't necessarily a segwit address. Whether a P2SH address is segwit or not depends on the script and I said in my previous post, an address starting with 3 can be a multi-signature address, time locked address, etc. A nested segwit address is called P2WPKH-P2SH.
Also note that the percentage of fee reduction isn't always 26% and that depends on number of inputs and outputs.


It reduces the fees by almost 52%.
Again, it depends on number of inputs and outputs.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6309


Self-proclaimed Genius


View Profile
September 25, 2023, 03:50:23 AM
Merited by o_e_l_e_o (4)
 #6

What advantages and disadvantages will I encounter if I use Nested SegWit?

What advantages and disadvantages will I encounter if I use Native SegWit?
You basically gain no advantage on using Nested SegWit today.
Its main purpose is to aid the adaption of SegWit without breaking compatibility with most clients which isn't much of an issue today.

I'm not talking about theory, I'm talking about reality.
Wallets, shipping and receiving of satoshis, etc
I'm inexperienced and I think the best thing for me is Nested SegWit.
You should switch to Native SegWit for lesser absolute fee because the major disadvantage of "not supported by others" was a thing of the past now.
Today, I rarely see any services or wallets that can't send to 'bc1q' addresses; if there is, it should be avoided for being 5-years outdated.
That's still subjected to the services that you're using though.

Additionally, since you're a newbie, you're not prone to sending Altcoins to a Native SegWit address compared to a Nested SegWit.
Since the latter may still be supported by some Altcoin clients or exchange, the former is Bitcoin-exclusive.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DUPONDIUS (OP)
Jr. Member
*
Offline Offline

Activity: 101
Merit: 9


View Profile
September 25, 2023, 07:25:42 PM
 #7





Now i have it clearer.

Thank you very much.
SquirrelJulietGarden
Hero Member
*****
Offline Offline

Activity: 1498
Merit: 811



View Profile
September 28, 2023, 11:34:30 AM
Merited by bitmover (2)
 #8

The four main types of bitcoin addresses are:


1- Legacy (P2PKH): addresses start with a 1
2- Nested SegWit (P2SH): addresses start with a 3
3- Native SegWit (bech32): addresses start with bc1
4- Taproot (P2TR)  addresses begin with bc1p
Native Segwit (Bech32) has its address type starts with bc1q.

Quote
4- Taproot is too complex for newbies.
If you only make an on-chain transaction, it is similar to other address types, no complex exists.

Quote
What advantages and disadvantages will I encounter if I use Nested SegWit?

What advantages and disadvantages will I encounter if I use Native SegWit?
If you are not dependent on exchanges for your Bitcoin addresses, you don't have to use Nested Segwit addresses. Some non custodial wallets like Electrum wallet stop default generation for Legacy or Nested Segwit address. Electrum wallet in latest versions by default setting, only generate Native Segwit addresses for users (Bech32, bc1q).

You can use Bitcoin Transaction Size Calculators to see differences of different address types, with same inputs and outputs for one transaction.
https://jlopp.github.io/bitcoin-transaction-size-calculator/
https://bitcoindata.science/plot-your-transaction-in-mempool.html
https://bitcoinops.org/en/tools/calc-size/

Charles-Tim
Legendary
*
Offline Offline

Activity: 1722
Merit: 5190


Leading Crypto Sports Betting & Casino Platform


View Profile
September 28, 2023, 11:51:32 AM
 #9

Some non custodial wallets like Electrum wallet stop default generation for Legacy or Nested Segwit address.
It is worth pointing to that nested segwit is not the same as legacy, but according to what you quoted above, it means that you know about that as well. Since I have been using Electrum, I have not seen it having nested segwit in the past, it was either legacy or native segwit is chosen, but Electrum removed legacy and made native segwit the default.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
bitmover
Legendary
*
Offline Offline

Activity: 2478
Merit: 6285


bitcoindata.science


View Profile WWW
September 28, 2023, 09:31:24 PM
 #10


It reduces the fees by almost 52%.
Again, it depends on number of inputs and outputs.

You are right, the fee reduction will depend on the  number of inputs and outputs (the more inputs and outputs,  the higher is the reduction). However,  native segwit will always be cheaper than nested segwit. There is no reason to use nested segwit anymore if you are focused in fees reduction.

Just go for taproot or native segwit.

NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7352


Top Crypto Casino


View Profile WWW
September 29, 2023, 03:00:41 PM
 #11

Some non custodial wallets like Electrum wallet stop default generation for Legacy or Nested Segwit address.
It is worth pointing to that nested segwit is not the same as legacy, but according to what you quoted above, it means that you know about that as well. Since I have been using Electrum, I have not seen it having nested segwit in the past, it was either legacy or native segwit is chosen, but Electrum removed legacy and made native segwit the default.

Electrum did not remove the legacy wallet option if I recall correctly. You can still make a legacy wallet with electrum, but it's not the default as you know, native segwit is.

Nested segwit addresses are just segwit with Base58 addresses for the benefit of those ancient services which don't support segwit transactions and addresses.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Charles-Tim
Legendary
*
Offline Offline

Activity: 1722
Merit: 5190


Leading Crypto Sports Betting & Casino Platform


View Profile
September 29, 2023, 03:08:27 PM
 #12

Electrum did not remove the legacy wallet option if I recall correctly. You can still make a legacy wallet with electrum, but it's not the default as you know, native segwit is.
Both on mobile and desktop Electrum, you can choose to generate either legacy or native segwit before on version 4.0.9 and below. But now, you have to use the console to generate legacy seed phrase on Electum. But using command line in console is only available on desktop Electrum.

To generate it, typing this on the console will generate 12 word legacy seed phrase.
Code:
make_seed(128,"","standard")

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
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!