Ethereum: Difference Between Public Bitcoin Address and Hash 160 Address
When working with Ethereum, you may come across two addresses that look 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)
A PBA is a unique identifier for each public address on the Ethereum network. It is 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 is called a “Bitcoin Address”:
Hash 160 Address
A Hash 160 address, on the other hand, is another way to represent a public Ethereum address. It is similar to a PBA, but uses a different format:
Key Differences
So why do we have both a PBA and a hash 160 address? Here are some key differences:
When to use each address
To illustrate the difference:
+ You are receiving 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.
+ You need to store and retrieve accounts securely, with additional protection against collisions.
+ You are working with legacy or older versions of blockchains that do not support PBA.
In summary, while both PBA and Hash 160 Address are used to represent 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.