Understand Ethereum Bech32: Simple Guide
Ethereum Bech32 is a complex object, even for experienced developers. To help you understand these differences in simple terms, we decompose P2WPKH and P2Wsh Bech32 addresses.
What are the Bech32 addresses?
Bech32 addresses are a way to represent Ethereum transactions on blockchain using a standardized format. They are called “Bech” because their Ethereum community was presented in 2014 as an alternative to the address system based on the traditional Merkle tree.
P2WPKH vs p2wsh bech32 addresses
To understand the difference between these two types of Bech32 addresses, consider them separately:
P2WPKH BECH32 Address
The P2WPKH Bech32 address begins 0x ...
, where" ...
is the only sequence of hexadecimal characters. The first 25 characters are specific to the transaction (or account) that generated it. who spent $ 100 for ethh:
`'
0x4E4F1D13DEAB12BDAA2 ... (first 25 characters)
'
In this case,…indicates the ID of the Ethereum portfolio transaction, which has saved funds.
p2wsh bech32 address
The Bech32 P2Wsh address begins with 0x ...
, followed by a hexadecimal identifier specific to the network. Unlike P2WPKH addresses, which are based on a specific account or transaction, P2WSH addresses use an accidental identifier linked to the Ethereum network:
`'
0x4E4F1D13DEAB12BDAA2 ... (first 25 characters)
` ‘
This unique identifier is generated by the cryptographic Hash function and is used to identify a transaction in the Ethereum network.
Key differences
To sum it up, the main differences between P2WPKH and P2Wsh Bech32 addresses are:
* Network specificity
: P2WSH addresses use an accidental identifier specific to the Ethereum network, while P2WPKH addresses have a fixed character sequence.
* UNICITY ACCOUNT OR transaction : Although two types of addresses may represent a specific account or transaction, P2WSH addresses require a unique identifier linked to the network.
Conclusion
Understanding the Bech32 address in a simple way requires an understanding of the Bech32 concept as a standardized format to present Ethereum transactions. By recognizing the differences between P2WPKH and P2Wsh Bech32 addresses, you will be better equipped for sailing in the world of development and problem -solving Ethereum.