Cardano: NerdOut - Key Derivation
Why Cardano Stack Exchange recommends it
Cardano Stack Exchange users cite it when they are trying to understand how mnemonic phrases, root keys and derived addresses relate, and the mentions are mostly questions that reference it as the source of their confusion or background.
Recommended by 1 people across 1 different months, 2021 to 2022.
What it is
A 13-minute explainer by Cardano stake pool operator Andrew Westberg on how a wallet turns a mnemonic phrase into a root key and then a whole hierarchy of keys and addresses. It covers BIP-32/BIP-44 style hierarchical deterministic derivation as applied in Cardano (CIP-3, CIP-1852), with links to the specs and serialization library docs.
What people said
Recommends zhekson · 2022-01 · Cardano Stack Exchange · on “Can there be two identical secret seed phrase generated?”
The literal answer to your question is yes, the practical answer is no. Key-derivation is an entirely offline process. CIP-3 [LINK] talks about how it is currently implemented in cardano (used by all relevant software, including Yoroi, Nami, cardano-cli, etc). A 24-word mnemonic equates to 256 bits of entropy. If generated in a secure fashion, it would take all the computers in the world orders of magnitude longer than the age of the universe to sift through all the possibilities . Ditto for the chances of two identical keys being generated. It is worth noting that generating your keys using naked Yoroi (no hardware wallet) is not considered secure. The above still applies, but the seed is s
Cites Nos · 2021-05 · Cardano Stack Exchange · on “How to derive addresses from a key exported from Yoroi”
I’d like to code a small crypto portfolio app using python. So to track my ADA, I need to scan the addresses of my wallet. I found Yorois feature to export a “key” and conveniently, it also states the derivation path. Unfortunately, I’m a noob with regard to key derivation and I’m a little confused by the encoding of the key, since it does not seem to come in a base58 format like BTC extended public keys. So to have a common testing ground, I created a test wallet and this is the "key" that Yoroi gives me, when I go to Options=>Wallet=>Export Wallet=>Export: 95e74df114717de17ebfb24c05f9fd1c8019bb6f1de117eec10a43670a692866b837a4a5f51d62f3dc3d630d075c8e39e5294323ba146c386c48123aeef5438a So how
Cites cdt · 2022-12 · Cardano Stack Exchange · on “Key derivation are unclear”
I watch this video on Key Derivation process ( [this video] ). Basically, from mnemonic phrase --> create root key --> create public addresses Then, I see another tutorial to create payment address. [LINK] I can create payment address without any mnemonic phrase or root key The two all above are the process to create addresses, but they are a little different, which I could not understand. I have 3 questions Why in the tutorial, we can create payment address without mnemonic phrase? In the tutorial, there is no step to create root key. What is the root key? It is verification key? The video says that we can create multiple addresses from the root key. I tried to create different addresses using t