Title: please help with xpvt key reward Post by: helpmemykey on May 16, 2018, 11:36:19 AM hello im having a issue i have a few pvt keys i think there master keys or extended pvt keys im trying to import them into bitcoin core or anyother wallet with not much luck i need to be able to import a list in 1 go not 1 by one can anyone with bitcoincore try give it a go for me and see if it can be imported or tell me what type of key i have heres a empty key for testing i will give anyone who can solve this 50usd in btc thanks
test key xprv9xyQEZakyfuyCRGF1moJNatpGDAgMS4hgctAgWU4RNw664qCz6agreZParHx6G24td48SZKnmK8 ppSVMvmyBuTy9L4poDhwgm9aR9GukgQW Title: Re: please help with xpvt key reward Post by: Xynerise on May 16, 2018, 12:43:51 PM Bitcoin Core does not have a way to directly import maser private keys.
You could derive a bunch of private keys in WIF from the xpriv and import them all at once, but you can't import the xprv directly. Electrum does what you want easily: Go to File -> New/Restore Type a wallet name. Select "standard wallet" Click next Select "use a master key" Paste the xpriv Click next Set up a password for safety Click next Voila! Your addresses are there. The first 20 addresses your xpriv creates are Code: 192CfrTf5cxGSZX6AjLv6jikU4HVJRQ8bG You can also use Mycelium wallet. Copy the xpriv to the clipboard On the accounts tab, select "add account" Select "advanced" on the next screen Type in your pin if you set one up Click on clipboard to import the xpriv from the clipboard. Enter an account label, and that's it. Title: Re: please help with xpvt key reward Post by: helpmemykey on May 16, 2018, 02:01:32 PM thanks but i have a few 100 wallets so need to do it in bulk how would i derive the keys thanks
Title: Re: please help with xpvt key reward Post by: Xynerise on May 16, 2018, 02:34:43 PM thanks but i have a few 100 wallets so need to do it in bulk how would i derive the keys thanks By wallets do you mean different master private keys or different addresses?Title: Re: please help with xpvt key reward Post by: helpmemykey on May 16, 2018, 02:48:31 PM master private keys i have like 300 of them i need to import them all in bulk or sweep them somehow
Title: Re: please help with xpvt key reward Post by: Xynerise on May 16, 2018, 03:17:49 PM master private keys i have like 300 of them i need to import them all in bulk or sweep them somehow Wow, that's a lot!I doubt you'll be able to find a tool that does that unless you make one yourself since a master private key -- like a seed phrase -- derives many addresses and is meant to be used for a single wallet. Title: Re: please help with xpvt key reward Post by: Thirdspace on May 16, 2018, 10:41:57 PM thanks but i have a few 100 wallets so need to do it in bulk how would i derive the keys thanks master private keys i have like 300 of them i need to import them all in bulk or sweep them somehow what next? are you going to say 500 master keys in the next post?the obvious question has not been asked here, what exactly are you trying to do? why do you have so many xprv master keys? if this is just your way trying your luck on finding some addresses with balance, just forget it... earn your btc! if you insist you can try spam bc.info and most likely get banned doing it ;D find the xpub then use bc.info API to find its balance, if it has balance then you can extract only the needed privkey https://blockchain.info/balance?active=xpub6K2eySc3uCzitSjNVDTmT4Dmn2Vyjgt2cn836QuG7qJtHzFCzkRak59Wbruxrpa8Lbgjei6T3YdzeKhup9g7PgNn7sNATooh9QS3z8zMZFy you can do single or multi xpubs at once but there is a limit on number request/sec, and remember the consequences Title: Re: please help with xpvt key reward Post by: HCP on May 17, 2018, 06:17:30 AM You could always just use the linux version of Electrum and some scripting knowledge to create wallets programmatically...
Code: ./electrum -w <PATH/TO/WALLET/WALLETNAME> restore <XPRV> Code: ./electrum -w ~/wallet_1 restore xprv9xyQEZakyfuyCRGF1moJNatpGDAgMS4hgctAgWU4RNw664qCz6agreZParHx6G24td48SZKnmK8ppSVMvmyBuTy9L4poDhwgm9aR9GukgQW Will generate a wallet file called "wallet_1" in the users home directory, restored using "xprv9xyQEZakyfuyCRGF1moJNatpGDAgMS4hgctAgWU4RNw664qCz6agreZParHx6G24td48SZKnmK8 ppSVMvmyBuTy9L4poDhwgm9aR9GukgQW" which generates a wallet with addresses: Code: [ You should be able to create a text file with one "xprv" per line, and pass those xprv's to the Electrum "restore" command using a shell script. This would create 300 wallets from your 300 master private keys... Title: Re: please help with xpvt key reward Post by: nc50lc on May 17, 2018, 08:18:10 AM test key I see, your problem is: Every wallet you've used can't seem to import your master private key, right?xprv9xyQEZakyfuyCRGF1moJNatpGDAgMS4hgctAgWU4RNw664qCz6agreZParHx6G24td48SZKnmK8 ppSVMvmyBuTy9L4poDhwgm9aR9GukgQW Use Electrum: electrum.org (http://electrum.org) I've tried your test key on Electrum and I think I found the culprit. At first, it appears to be in the correct format while Electrum's next button is still unclickable, but I noticed that there was a hidden space somewhere between "nmK8" and "ppSV". After removing the space, the restoration process went through. here's a sample address from that test master private key: 192CfrTf5cxGSZX6AjLv6jikU4HVJRQ8bG (https://brainwalletx.github.io/#verify?vrAddr=192CfrTf5cxGSZX6AjLv6jikU4HVJRQ8bG&vrMsg=May%2017%202018%20nc50lc%20I%20am%20able%20to%20restore%20this%20sample%20wallet%20from%20helpmemykey's%20thread.&vrSig=IIXEgwgF0NgDMqnOjJmpld5C3cB8MW58PDf1mwAQPYOxMVIfp8Ep4T0FDeQFIte6yM7pdeSbokKgl3L0nVeDkNc%3D) Signed by me: Code: -----BEGIN BITCOIN SIGNED MESSAGE----- It seems like the output file or text of the master private key dump of your previous wallet produces an invisible space. Try to copy your other master prv keys to a text file, find a(the) space and delete it. Copy the fixed master private key then, restore your wallet. And here's an easy way to find where the space is: double-click the xprv key, the space should be after the highlighted characters. Title: Re: please help with xpvt key reward Post by: HCP on May 17, 2018, 09:06:56 AM ... I've tried your test key on Electrum and I think I found the culprit. I think you'll find that the forum software does not allow single "words" larger than 79 characters... then it forces a "hidden" space.At first, it appears to be in the correct format while Electrum's next button is still unclickable, but I noticed that there was a hidden space somewhere between "nmK8" and "ppSV". After removing the space, the restoration process went through. This was put in without a space: xprv9xyQEZakyfuyCRGF1moJNatpGDAgMS4hgctAgWU4RNw664qCz6agreZParHx6G24td48SZKnmK8 ppSVMvmyBuTy9L4poDhwgm9aR9GukgQW Like this: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 0123456789012345678901234567890 They will both have "hidden" spaces after the 79th character. It's the reason a lot of "raw transaction" hexs that people attempt to paste into a post don't work... to exceed the 79char limit, you have to use [ code ][ /code ] tags... like this: Code: xprv9xyQEZakyfuyCRGF1moJNatpGDAgMS4hgctAgWU4RNw664qCz6agreZParHx6G24td48SZKnmK8ppSVMvmyBuTy9L4poDhwgm9aR9GukgQW Title: Re: please help with xpvt key reward Post by: LoyceV on May 17, 2018, 09:29:11 AM You could always just use the linux version of Electrum and some scripting knowledge to create wallets programmatically... Bookmarked just in case I ever need it!~ You should be able to create a text file with one "xprv" per line, and pass those xprv's to the Electrum "restore" command using a shell script. This would create 300 wallets from your 300 master private keys... It's quite easy to script on Linux. If you only want to check the keys once, assuming all keys are in a file called "keylist", this should work: Code: #!/bin/bash |