Atlas21
  • ‎
No Result
View All Result
Atlas21
No Result
View All Result
Atlas21
Home Learn

From seed to addresses: the derivation process

Newsroom by Newsroom
October 12, 2024
in Learn
dal seed agli indirizzi
Share on FacebookShare on TwitterShare on Linkedin

The process by which a public key is obtained from a private key, and from the public key, addresses associated with UTXOs are derived, is carried out by the wallet. How does it work?

In a deterministic wallet, all private keys are derived from a single number called seed, for example:

9400aedeede8cba2241d2b13e0a7412fe7464245efe8db54b4484143c7814977e641284cb4e023a9b48e075d0137631540fbf97976f3bbd32961667da1f62c5f

The seed is a hexadecimal number generated from a random source.

The process of deriving addresses in a Bitcoin wallet from a seed involves a series of hash operations. These are the steps in this process:

seed → master private key → master public key → public key → address

1. The seed is transformed into a master private key through a hash algorithm called HMAC-SHA512;

2. The master private key is transformed into a master public key through elliptic curve multiplication (multiplying the private key by a constant point on the elliptic curve called the generation point);

3. Starting from the master private key as the root, algorithms derive a tree structure of private and public key pairs;

4. To generate a Bitcoin address, the public key is hashed using the SHA-256 algorithm. This number is then hashed again using the RIPEMD-160 function: each address is associated with a public key;

5. The construction of the address involves adding a version byte in front of the RIPEMD–160 hash and the checksum at the end. The checksum consists of the first 4 bytes of the SHA-256 hash of the public key. The final address is then built from the Base58 encoding of this byte string.

6. Base58Check encoding: to create a publicly shareable Bitcoin address, the previous output is encoded with “Base58Check”. This eliminates some characters that are often misunderstood by humans or look alike. The result is what we know as a Bitcoin address: bc1q6zjfr73jywxck3stj0rzl62ga94hyxgw9tfu8g

Thanks to this derivation process, a deterministic hierarchical wallet (with all its addresses) can be recovered from a single seed. This is one of the advantages of deterministic hierarchical wallets over non-deterministic wallets.

A Bitcoin address is an alphanumeric string, a long sequence of letters and numbers, necessary for sending and receiving bitcoin. The address must be communicated to the sender of the transaction to receive bitcoin. To simplify, we can compare a Bitcoin address to an IBAN code of a bank account or an email address to which to send email.

Previous Post

On-chain addresses of Bitcoin ETFs discovered

Next Post

Swan Bitcoin launches into Bitcoin mining ahead of a probable stock market listing

Latest News

bitcoin
Bitcoin

Twenty One Capital buys $458 million in bitcoin: 4,812 BTC added to reserves

by Newsroom
May 14, 2025
0

Investment firm Twenty One Capital, backed by Tether, expands its portfolio with a major bitcoin purchase.

Read moreDetails
crypto
Crypto

Attempted kidnapping in Paris: daughter of crypto company CEO targeted

by Newsroom
May 13, 2025
0

The Paris prosecutor's office is investigating the incident, suspecting financial motives due to the family's crypto connections.

Read moreDetails
criptovalute
Crypto

Dubai opens to cryptocurrency payments for government services

by Newsroom
May 13, 2025
0

The Emirati city will allow cryptocurrency payments in the public sector through a partnership with Crypto.com.

Read moreDetails
mining
Bitcoin

Illegal mining in Malaysia: electricity theft up 300% since 2018

by Newsroom
May 13, 2025
0

According to Malaysia's main electricity provider, electricity theft for bitcoin mining has reached alarming levels.

Read moreDetails
bitcoin
Bitcoin

Arizona: Governor Hobbs vetoes two digital asset bills

by Newsroom
May 13, 2025
0

Arizona’s Governor slows down the adoption of bitcoin as a strategic reserve, citing concerns over market volatility.

Read moreDetails
Atlas21

© 2025 Atlas21

Navigate Site

  • About
  • Home
  • Feature
  • Bitcoin
  • Careers
  • Opinion
  • Interviews
  • Privacy Policy
  • News
  • Learn
  • B2B
  • Press
  • Cookie Policy

Follow Us

No Result
View All Result
  • News
  • Interviews
  • Learn
  • Feature
  • Services
  • Adoption
  • ‎
    • ‎

© 2025 Atlas21

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site, we will assume that you are happy with it.AcceptCookie