Bip32-Hd-Wallets

HD錢包參數說明

  • February 2, 2022

我正在使用高畫質地址生成器創建一個高畫質錢包:

let mnemonic = "voyage blind unit shoulder yellow attitude mule all hire above obvious swap"
let bip84 = HdAddGen.withMnemonic(mnemonic, false, "BTC", true, 84)

我要返回的對象包含以下欄位:

  • bip32Seed
  • bip32RootKey
  • accountXprivKey
  • accountXpubKey
  • bip32XprivKey
  • bip32XpubKey

據我了解,我查看了HD WalletsExtended Keys

  • bip32XprivKey是擴展私鑰
  • bip32XpubKey是擴展公鑰
  • bip32Seed是從助記符派生的種子

是否有意義?另外,什麼是bip32RootKey和?accountXprivKey``accountXpubKey

假設 84 參數意味著您想要 BIP84 地址,那麼:

bip32RootKey: this would be the root EC private key
accountXprivKey: this would be the extended private key at derivation path m/84’/0’/0’
accountXpubKey: this would be the extended public key at derivation path m/84’/0’/0’

引用自:https://bitcoin.stackexchange.com/questions/112197