{"schemaVersion":1,"id":"5","slug":"private-key-public-key-seed-phrase-address","title":"私钥、公钥、助记词和地址有什么关系？","description":"在常见确定性钱包中，助记词经种子和派生规则生成密钥，私钥用于签名，公钥用于验证，地址按网络规则生成。助记词不是地址列表，也不是应用解锁密码。","related":[{"id":"4","title":"加密钱包是什么？","url":"/docs/what-is-crypto-wallet"},{"id":"10","title":"助记词泄露了怎么办？","url":"/docs/seed-phrase-compromised"},{"id":"11","title":"MetaMask 如何接收代币？","url":"/docs/metamask-receive-tokens"}],"publishedAt":"2026-11-03T16:37:13.284Z","updatedAt":"2026-11-03T16:37:13.438Z","url":"/docs/private-key-public-key-seed-phrase-address","markdownUrl":"/docs/private-key-public-key-seed-phrase-address.md","jsonUrl":"/api/knowledge/5","section":{"id":"1","slug":"basics","title":"基础知识","description":"先分清链、币、钱包与合约等基础概念。"},"categoryPath":[{"id":"1","slug":"basics","title":"基础知识","url":"/section/basics"}],"scope":null,"verification":null,"sources":[{"title":"BIP-39 — Mnemonic code for generating deterministic keys","url":"https://bips.dev/39/","locator":"[K1] Abstract；Generating the mnemonic；From mnemonic to seed；Copyright；采用 BIP-39 的方案；可选 passphrase，不是所有钱包恢复标准。核验：2026-11-03","checkedAt":"2026-11-02T16:00:00.000Z"},{"title":"BIP-32 — Hierarchical Deterministic Wallets","url":"https://bips.dev/32/","locator":"[K2] Abstract；Motivation；Specification: Key derivation；Copyright；采用 BIP-32 的 HD 钱包；不把私钥和助记词等同。核验：2026-11-03","checkedAt":"2026-11-02T16:00:00.000Z"},{"title":"Bitcoin Developer Guide — Wallets","url":"https://developer.bitcoin.org/devguide/wallets.html","locator":"[B5] Wallet Programs；Signing-Only Wallets；Wallet Files；Bitcoin 钱包职责和确定性恢复思路；不作产品推荐。核验：2026-11-03","checkedAt":"2026-11-02T16:00:00.000Z"},{"title":"ethereum.org — Ethereum accounts","url":"https://ethereum.org/developers/docs/accounts/","locator":"[E4] Account types；Externally-owned accounts and key pairs；Account creation；Ethereum 普通外部账户与合约账户；不采用 EOA 永远无代码等绝对概括。核验：2026-11-03","checkedAt":"2026-11-02T16:00:00.000Z"},{"title":"MetaMask — Secure your Secret Recovery Phrase and password","url":"https://support.metamask.io/start/user-guide-secret-recovery-phrase-password-and-private-keys/","locator":"[M1] Secret Recovery Phrases；Passwords and MetaMask；Private keys；Security tips；MetaMask 按创建方式分支；密码用途不能一概而论。核验：2026-11-03","checkedAt":"2026-11-02T16:00:00.000Z"}],"links":[{"title":"加密钱包是什么？","url":"/docs/what-is-crypto-wallet"},{"title":"助记词泄露了怎么办？","url":"/docs/seed-phrase-compromised"},{"title":"MetaMask 如何接收代币？","url":"/docs/metamask-receive-tokens"},{"title":"K1｜BIP-39 — Mnemonic code for generating deterministic keys","url":"https://bips.dev/39/"},{"title":"K2｜BIP-32 — Hierarchical Deterministic Wallets","url":"https://bips.dev/32/"},{"title":"B5｜Bitcoin Developer Guide — Wallets","url":"https://developer.bitcoin.org/devguide/wallets.html"},{"title":"E4｜ethereum.org — Ethereum accounts","url":"https://ethereum.org/developers/docs/accounts/"},{"title":"M1｜MetaMask — Secure your Secret Recovery Phrase and password","url":"https://support.metamask.io/start/user-guide-secret-recovery-phrase-password-and-private-keys/"}],"revision":"sha256-5bd8b469dece690079ae576d095ef2f292028653cb5d3c001fa2bff93cfb8609","headings":[{"title":"四个对象分别做什么？","url":"#四个对象分别做什么","depth":2},{"title":"核心原理","url":"#核心原理","depth":2},{"title":"具体例子","url":"#具体例子","depth":2},{"title":"常见误区","url":"#常见误区","depth":2},{"title":"风险或适用边界","url":"#风险或适用边界","depth":2},{"title":"相关问题与操作指南","url":"#相关问题与操作指南","depth":2},{"title":"参考来源","url":"#参考来源","depth":2}],"content":{"format":"markdown","value":"# 私钥、公钥、助记词和地址有什么关系？\n\n资源ID：5\n\n内容修订：sha256-5bd8b469dece690079ae576d095ef2f292028653cb5d3c001fa2bff93cfb8609\n\n栏目：基础知识\n\n发布时间：2026-11-03T16:37:13.284Z\n\n网页：/docs/private-key-public-key-seed-phrase-address\n\nJSON：/api/knowledge/5\n\n适用范围与核验边界请阅读正文；来源记录不代表实操验证。\n\n\n\n> 在常见确定性钱包里，助记词帮助恢复生成密钥所需的种子；派生规则再产生多组密钥。私钥用来签名，公钥用于验证，地址按相应网络规则生成。它们有联系，却不是四种可以互换的“密码”。[K1][K2]\n\n<a id=\"四个对象分别做什么\"></a>\n\n## 四个对象分别做什么？\n\n- 对象：私钥（Private Key）；作用：为对应密钥控制的操作生成数字签名；是否可以公开：必须保密\n- 对象：公钥（Public Key）；作用：用于验证签名，可参与地址生成；是否可以公开：不作为花费秘密，但分享可能影响隐私\n- 对象：助记词／恢复短语（Seed Phrase）；作用：按特定方案恢复种子和派生密钥；是否可以公开：必须保密\n- 对象：地址（Address）；作用：识别收款对象或链上状态，规则随链与地址类型变化；是否可以公开：可按需要用于收款，但应注意隐私\n\n<a id=\"核心原理\"></a>\n\n## 核心原理\n\n对采用 BIP-39 与 BIP-32 等方法的钱包，可用下图理解：[K1][K2]\n\n`助记词 + 可选的 BIP-39 passphrase`\n\n                `↓`\n\n               `种子`\n\n                `↓ 按派生路径等规则`\n\n          `多组私钥与公钥`\n\n                `↓ 按链和地址类型规则`\n\n               `地址`\n\nBIP-39 的可选 passphrase 参与种子生成，不是应用解锁密码；不同 passphrase 会产生不同的钱包。不要自行加词、改词序或靠记忆编一句话当作可靠助记词。\n\n同一助记词可以派生多个账户。单独导入的私钥、硬件账户或其他恢复方案，不一定包含在这组助记词的恢复范围内。[B5][M1]\n\n<a id=\"具体例子\"></a>\n\n## 具体例子\n\n在常见助记词创建的 MetaMask 普通外部账户路线中，你可以建立多个账户。把恢复短语安全地用于兼容的恢复流程，仍需匹配正确的账户与派生设置；不能仅凭“词一样”就保证所有产品显示完全相同。\n\n普通以太坊外部账户地址由公钥按规则计算，并非把私钥直接当作收款地址。智能合约账户的地址与控制逻辑又不同，不能说每个地址背后都直接对应一把可导出的私钥。[E4]\n\n<a id=\"常见误区\"></a>\n\n## 常见误区\n\n**“把公钥或地址给别人，就等于泄露私钥。”** 正常密码学安全假设下，不能这样倒推出私钥；但公开信息可能关联身份与交易记录。\n\n**“助记词就是私钥的另一种写法。”** 在上述方案中，助记词用于生成种子并派生多组密钥，关系不是一词组对应一个账户的直接替换。\n\n**“改钱包密码能让旧助记词作废。”** 不能。密码的作用随创建方式不同，但已泄露的恢复短语不能靠更改本机密码撤销。[M1]\n\n<a id=\"风险或适用边界\"></a>\n\n## 风险或适用边界\n\n恢复只应在确认真实、可信的客户端或设备中进行，不在客服聊天、空投网页或 AI 对话里提供秘密。本文不展示可用助记词、私钥或恢复演示。\n\n<a id=\"相关问题与操作指南\"></a>\n\n## 相关问题与操作指南\n\n- [加密钱包是什么？](/docs/what-is-crypto-wallet)\n- [助记词泄露了怎么办？](/docs/seed-phrase-compromised)\n- [MetaMask 如何接收代币？](/docs/metamask-receive-tokens)\n\n<a id=\"参考来源\"></a>\n\n## 参考来源\n\n- [K1｜BIP-39 — Mnemonic code for generating deterministic keys](https://bips.dev/39/)。\n- [K2｜BIP-32 — Hierarchical Deterministic Wallets](https://bips.dev/32/)。\n- [B5｜Bitcoin Developer Guide — Wallets](https://developer.bitcoin.org/devguide/wallets.html)。\n- [E4｜ethereum.org — Ethereum accounts](https://ethereum.org/developers/docs/accounts/)。\n- [M1｜MetaMask — Secure your Secret Recovery Phrase and password](https://support.metamask.io/start/user-guide-secret-recovery-phrase-password-and-private-keys/)。\n\n资料核验：2026-11-03。核验范围为所引文档相关段落。\n\n\n\n## 参考来源\n\n1. BIP-39 — Mnemonic code for generating deterministic keys\n   地址：<https://bips.dev/39/>\n   对应内容：[K1] Abstract；Generating the mnemonic；From mnemonic to seed；Copyright；采用 BIP-39 的方案；可选 passphrase，不是所有钱包恢复标准。核验：2026-11-03\n   核对日期：2026-11-03\n\n2. BIP-32 — Hierarchical Deterministic Wallets\n   地址：<https://bips.dev/32/>\n   对应内容：[K2] Abstract；Motivation；Specification: Key derivation；Copyright；采用 BIP-32 的 HD 钱包；不把私钥和助记词等同。核验：2026-11-03\n   核对日期：2026-11-03\n\n3. Bitcoin Developer Guide — Wallets\n   地址：<https://developer.bitcoin.org/devguide/wallets.html>\n   对应内容：[B5] Wallet Programs；Signing-Only Wallets；Wallet Files；Bitcoin 钱包职责和确定性恢复思路；不作产品推荐。核验：2026-11-03\n   核对日期：2026-11-03\n\n4. ethereum.org — Ethereum accounts\n   地址：<https://ethereum.org/developers/docs/accounts/>\n   对应内容：[E4] Account types；Externally-owned accounts and key pairs；Account creation；Ethereum 普通外部账户与合约账户；不采用 EOA 永远无代码等绝对概括。核验：2026-11-03\n   核对日期：2026-11-03\n\n5. MetaMask — Secure your Secret Recovery Phrase and password\n   地址：<https://support.metamask.io/start/user-guide-secret-recovery-phrase-password-and-private-keys/>\n   对应内容：[M1] Secret Recovery Phrases；Passwords and MetaMask；Private keys；Security tips；MetaMask 按创建方式分支；密码用途不能一概而论。核验：2026-11-03\n   核对日期：2026-11-03\n\n"}}