Post
Topic
Board Beginners & Help
Merits 5 from 2 users
Topic OP
What is the relation between the Seed Words and the Private key?
by
btcduster
on 02/02/2022, 11:52:21 UTC
⭐ Merited by o_e_l_e_o (4) ,bitmover (1)
Hello friends,

I have the following question:

What is the relation between the seed words and the private key and how can one convert the seed into a private key?
Taking BIP39 as an example.

I read the following:
Quote
A simplified explanation of how seed phrases work is that the wallet software has a list of words taken from a dictionary, with each word assigned to a number. The seed phrase can be converted to a number which is used as the seed integer to a deterministic wallet that generates all the key pairs used in the wallet.

Quote
This compares well with writing down a raw private key where a single letter being unreadable or incorrect can make the private key useless (depending on the serialization format).

Quote from: https://en.bitcoin.it/wiki/Seed_phrase

Quote
A deterministic wallet is a system of deriving keys from a single starting point known as a seed. The seed allows a user to easily back up and restore a wallet without needing any other information and can in some cases allow the creation of public addresses without the knowledge of the private key. Seeds are typically serialized into human-readable words in a seed phrase. The BIP 0032 standard for hierarchical deterministic wallets is used by all good wallets as of 2019.
Quote from: https://en.bitcoin.it/wiki/Deterministic_wallet

Quote
This BIP describes the implementation of a mnemonic code or mnemonic sentence -- a group of easy to remember words -- for the generation of deterministic wallets.
It consists of two parts: generating the mnemonic and converting it into a binary seed. This seed can be later used to generate deterministic wallets using BIP-0032 or similar methods.
Source: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki

At first I thought the conversion of the seed into a numeric value will result into a private key, but I seem to be mistaken.
What are the steps to convert a seed to a private key?

Code:
mnemonic seed > binary seed > deterministic wallet > deterministic address > private key ?