Ethereum: What are the different prefixes of Bitcoin addresses?

** understanding

For new ones for cryptocurrency, it can be confused when you have to deal with Bitcoin and Ethereum addresses. One of the most common questions is: What prefixes do these addresses follow? The answer may seem simple, but reality is more complex than you might think.

In this article, we will deepen in the world of Bitcoin address prefixes and explain why they are not always as simple as “1” at first sight.

What are the addresses based on prefix?

Prefix -based addresses are a way to represent an Ethereum address using a shorter string. These prefixes are used in combination with a longer hexadecimal code, known as
address address , which is the majority of the address.

The address hash is composed of 66 digits (64 for the leader “1” and 2 for the suffix “.”) Which are divided into eight groups of seven, separated by lines. Each group corresponds to a specific number from 0 to 65, where:

  • The first six numbers represent the check figure

  • The seventh number is always 1

Prefixes

There are several addresses based on prefix used on Ethereum:

Format of basic address (with leader “1”)

This format is the most common and is represented as a single hexadecimal string with “1” as the main character.

`

0x01 ...

Basic prefix (with "X" leader)

A prefix is ​​entered to indicate that the address must be divided into several segments. The format changes to:

0xx ...

* 2 for checking figure

* x for the rest of six digits

For example, 3m8xgfbkwkff7mmbu3x2Dowavr1mhk is an address that respects the format of the basic prefix.

Multi-signed address format (MS)

This format involves the address division into several segments using prefixes. The MS format requires three different prefixes:
M ,
S and
P . Each segment begins with a specific prefix, followed by the check figure.

0xms ...

`

* M for the first segment

* S for the second segment

* P for the third segment

The MS format is used in situations such as Coinjoin, where several addresses are combined to create a unique wallet. 3m8xgfbkwkfff7mizpku3x2dowavr1mhk follows this format.

Example:

As we have seen with the example above, 3m8xgfbkwkff7mizpku3x2dowavr1mhk is an MS address. The prefixes used are:

* M (for the first segment)

* S (for the second segment)

* P (for the third segment)

Understanding addresses based on prefix may seem discouraging at first, but it is essential to understand this concept when working with Ethereum and other cryptocurrencies.

Recognizing the different prefix formats and their meanings, you will become more comfortable by sailing in the world of Bitcoin and Ethereum addresses.

Transaction Bridge Pump