Achow101 [ARCHIVE] on Nostr: 📅 Original date posted:2022-04-05 📝 Original message:The seed is encoded as a ...
📅 Original date posted:2022-04-05
📝 Original message:The seed is encoded as a WIF private key. Decoding as WIF will result in the 32 byte seed that can be used as specified in BIP 32.
Andrew
-------- Original Message --------
On Apr 5, 2022, 6:55 PM, Tobin Harding via bitcoin-dev wrote:
> Hi,
>
> Does anyone have software that successfully parses the extended private key seed
> found in the BIP174 test vector? I have been implementing the test vector PSBT
> workflow in Rust and have everything working except I can only create the
> extended private key from the xpriv, I am unable to use the seed to create it?
>
> BIP174:
https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#test-vectors>
> PSBT workflow in BIP174 starting at the line:
>
> "The private keys in the tests below are derived from the following master private key:"
>
> xpriv:
>
> tprv8ZgxMBicQKsPd9TeAdPADNnSyH9SSUUbTVeFszDE23Ki6TBB5nCefAdHkK8Fm3qMQR6sHwA56zqRmKmxnHk37JkiFzvncDqoKmPWubu7hDF
>
> seed:
>
> cUkG8i1RFfWGWy5ziR11zJ5V4U4W3viSFCfyJmZnvQaUsd1xuF3T
>
> I've tried decoding it as base64 and as base58.
>
> Thanks in advance,
> Tobin.
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev at lists.linuxfoundation.org
>
https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220405/563af73e/attachment.html>
Published at
2023-06-07 23:06:58Event JSON
{
"id": "7690c2f7588fd3d9cd3cfcb31f989adc255e2fe036970bfa6dc42ea9912bf707",
"pubkey": "75fdfdb61750de444c31286deb53bedfff4351d5a85d3d66cc6b36e95fa21d06",
"created_at": 1686179218,
"kind": 1,
"tags": [
[
"e",
"0c3f82749a75d16ee56bfbec3ce5468a82d9de27043e4a83bec20248d874d450",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2022-04-05\n📝 Original message:The seed is encoded as a WIF private key. Decoding as WIF will result in the 32 byte seed that can be used as specified in BIP 32.\n\nAndrew\n\n-------- Original Message --------\nOn Apr 5, 2022, 6:55 PM, Tobin Harding via bitcoin-dev wrote:\n\n\u003e Hi,\n\u003e\n\u003e Does anyone have software that successfully parses the extended private key seed\n\u003e found in the BIP174 test vector? I have been implementing the test vector PSBT\n\u003e workflow in Rust and have everything working except I can only create the\n\u003e extended private key from the xpriv, I am unable to use the seed to create it?\n\u003e\n\u003e BIP174: https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#test-vectors\n\u003e\n\u003e PSBT workflow in BIP174 starting at the line:\n\u003e\n\u003e \"The private keys in the tests below are derived from the following master private key:\"\n\u003e\n\u003e xpriv:\n\u003e\n\u003e tprv8ZgxMBicQKsPd9TeAdPADNnSyH9SSUUbTVeFszDE23Ki6TBB5nCefAdHkK8Fm3qMQR6sHwA56zqRmKmxnHk37JkiFzvncDqoKmPWubu7hDF\n\u003e\n\u003e seed:\n\u003e\n\u003e cUkG8i1RFfWGWy5ziR11zJ5V4U4W3viSFCfyJmZnvQaUsd1xuF3T\n\u003e\n\u003e I've tried decoding it as base64 and as base58.\n\u003e\n\u003e Thanks in advance,\n\u003e Tobin.\n\u003e _______________________________________________\n\u003e bitcoin-dev mailing list\n\u003e bitcoin-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220405/563af73e/attachment.html\u003e",
"sig": "022daf25f4c2003bb9137960f13091377fe64115cf372d43906bd8bdf73fe9f9c4ec669eea67d9212833953b5a0bc3e855bf25c1d6effb42abe0e94aa84afa03"
}