Ethereum: Difference between Public Bitcoin Address and Hash 160 Address

When working with Ethereum, you may come across two addresses that seem similar at first glance: the Public Bitcoin Address (PBA) and the Hash 160 Address. While they may look identical, there are key differences between these two addresses.

Public Bitcoin Address (PBA)

The PBA is a unique identifier for every public address on the Ethereum network. It’s a string of characters that represents a specific Ethereum account. When you receive Ether (ETH) or other ERC-20 tokens from another Ethereum user, their PBA will be sent to your Ethereum wallet as proof of ownership.

Here are some reasons why it’s called “Bitcoin Address”:

  • Unique: Each PBA is unique and cannot be reused.

  • Hashed version: The first three characters (4 hexadecimal digits) are a hash of the account balance before any fees were added. This ensures that the same address can never receive Ether or other tokens again.

  • Domain name: In some cases, it’s called a “Domain Name” because it looks like a domain name.

Hash 160 Address

The Hash 160 Address, on the other hand, is another way to represent a public Ethereum address. It’s similar to the PBA but uses a different format:

  • Four hexadecimal digits: The first four characters (4 hexadecimal digits) are a hash of the account balance before any fees were added.

  • Hash 160

    : This hash is more resistant to collisions and is often referred to as “hash 160”.

Key differences

So, why do we have both PBA and Hash 160 Address? Here are some key differences:

  • Purpose: The primary purpose of the PBA is to serve as a unique identifier for an Ethereum account. The Hash 160 Address serves a similar purpose but with added security features.

  • Security: Hash 160 Address has additional security features, such as resistance to collisions and increased durability compared to the PBA.

  • Compatibility: Hash 160 Address is compatible with both mainnet and testnet Ethereum networks.

When to use each address

Ethereum: Difference between Public Bitcoin Address and Hash 160 Address?

To illustrate the difference:

  • Use the PBA when:

+ You receive Ether or other ERC-20 tokens from another user as proof of ownership.

+ You want to represent an account on the Ethereum network in a simple, human-readable format.

  • Use the Hash 160 Address when:

+ You need to store and retrieve accounts securely, with added protection against collisions.

+ You’re working with legacy or older blockchain versions that don’t support PBA.

In summary, while both PBA and Hash 160 Address are used for representing public Ethereum addresses, they serve different purposes and offer additional security features. Understanding the differences between these two addresses will help you navigate the world of Ethereum more effectively.

ETHEREUM SOMEONE PROS REPLACE PROPOSALS