Bip32-Hd-Wallets
HD錢包參數說明
我正在使用高畫質地址生成器創建一個高畫質錢包:
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 Wallets和Extended 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’