ABCbits
Legendary
Offline
Activity: 2870
Merit: 7484
Crypto Swap Exchange
|
|
May 23, 2019, 04:38:06 PM |
|
i made a bech32 key with vanitysearch and imported the wif into bitcoin-qt 0.18.0 but it ends up giving me the old style with the 1 prefix. i have bech32 enabled as default in the options; if i let the wallet generate a random key for me it is bech32. so how to import a key as bech32 ?
you must import the private key full like "p2wpkh-p2sh:5priv.key" or "p2wpkh:5priv.key" AFAIK this will only work with Electrum. Have you tried this prefix method with Bitcoin-qt or Bitcoin Core? You just need remove the prefix which indicate address type (p2pkh, p2sh, p2wpkh-p2sh, p2wpkh or p2wph) if you want import private key generated from vanitygen to Bitcoin Core
|
|
|
|
|
|
|
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
1miau
Legendary
Offline
Activity: 2142
Merit: 6768
Currently not much available - see my websitelink
|
|
May 23, 2019, 05:46:42 PM |
|
Yes, looks like it's indeed possible. Lowercase L (l) seems to be allowed in native SegWit while it's not allowed in Legacy and nested SegWit addresses. I'm confused, it's quite easy to confuse an lowercase l and an uppercase I. nice tutorial managed to create my first vanity segwit address Unfortunately could not get something close to my name because of the (Unreachable, 31h1 to 3R2c only)"thought the restriction was for these characters>>" 0, O, I and l are not allowed" Anyway, now just playing around with this trying to find me some cool address I guess you tried to create a nested SegWit address like 3roosbit or 3roos, right? For nested SegWit your second character needs to be uppercase like 3 Roosbit or 3 Roos. If the second character after 3.. is lowercase the creation doesn't work.
|
|
|
|
Thirdspace
|
|
May 23, 2019, 08:56:31 PM Last edit: May 23, 2019, 09:26:35 PM by Thirdspace |
|
I guess you tried to create a nested SegWit address like 3roosbit or 3roos, right? For nested SegWit your second character needs to be uppercase like 3Roosbit or 3Roos. If the second character after 3.. is lowercase the creation doesn't work.
I believe 3R... prefix is not possible, possible prefix is only up to 3N... I've asked this in vanitygen thread awhile ago and someone answered like this 3r is out of range, 3N is the highest possible prefix, 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz. It is not about impossible sequence, address is a number in some range which is encoded using using Base58 coding. ./vanitygen -F script -C BTC 3r Generating BTC Address Prefix '3r' not possible edit: I think I was misinformed about the possible prefix it is possible to find 3R..., but not possible for 3Ro... because the range is up to 3R2c as mentioned by roosbit
|
|
|
|
1miau
Legendary
Offline
Activity: 2142
Merit: 6768
Currently not much available - see my websitelink
|
|
May 23, 2019, 11:01:27 PM |
|
I guess you tried to create a nested SegWit address like 3roosbit or 3roos, right? For nested SegWit your second character needs to be uppercase like 3Roosbit or 3Roos. If the second character after 3.. is lowercase the creation doesn't work.
I believe 3R... prefix is not possible, possible prefix is only up to 3N... I've asked this in vanitygen thread awhile ago and someone answered like this 3r is out of range, 3N is the highest possible prefix, 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz. It is not about impossible sequence, address is a number in some range which is encoded using using Base58 coding. ./vanitygen -F script -C BTC 3r Generating BTC Address Prefix '3r' not possible edit: I think I was misinformed about the possible prefix it is possible to find 3R..., but not possible for 3Ro... because the range is up to 3R2c as mentioned by roosbit Yeah, thanks for the heads-up 3Roosbit won't work unfortunately. Close to it but out of the range I've just tried vanitygen P2SH and 3R2c works: vanitygen -F script 3R2c Difficulty: 86484 Pattern: 3R2c P2SHAddress: 3R2cNJdWKc2zLt26wq2NdaUCgRCgqdDViK Address: 1HwqDVMCpVJULBeYpzbLNYs6L87MN7YG3x Privkey: 5KWRuPLBsrSAoPFJqSrVuf9XYGxtfWo4S9wcPj3Zj67u4oTpN39
|
|
|
|
feryjhie (OP)
|
|
May 24, 2019, 04:34:54 AM |
|
I've just tried vanitygen P2SH and 3R2c works: vanitygen -F script 3R2c Difficulty: 86484 Pattern: 3R2c P2SHAddress: 3R2cNJdWKc2zLt26wq2NdaUCgRCgqdDViK Address: 1HwqDVMCpVJULBeYpzbLNYs6L87MN7YG3x Privkey: 5KWRuPLBsrSAoPFJqSrVuf9XYGxtfWo4S9wcPj3Zj67u4oTpN39 did you just generate an address from vanitygen? as i know that vanitygen don't support segwit address yet
|
|
|
|
1miau
Legendary
Offline
Activity: 2142
Merit: 6768
Currently not much available - see my websitelink
|
|
May 24, 2019, 07:44:56 PM |
|
I've just tried vanitygen P2SH and 3R2c works: vanitygen -F script 3R2c Difficulty: 86484 Pattern: 3R2c P2SHAddress: 3R2cNJdWKc2zLt26wq2NdaUCgRCgqdDViK Address: 1HwqDVMCpVJULBeYpzbLNYs6L87MN7YG3x Privkey: 5KWRuPLBsrSAoPFJqSrVuf9XYGxtfWo4S9wcPj3Zj67u4oTpN39 did you just generate an address from vanitygen? Yes, I created the address 3R2cNJdWKc2zLt26wq2NdaUCgRCgqdDViK from vanitygen, you just need to add -F script for the command. as i know that vanitygen don't support segwit address yet
That's true, but the address from vanitygen isn't SegWit, it's just a simple P2SH (pay to script hash) address. Nested SegWit are P2SH-P2WPKH and that's not possible to create from vanitygen. But both addresses, P2SH (non-segwit) and P2SH-P2WPKH (segwit) are starting with 3... Here's some reference to the original vanitygen discussion: I'm not sure what the requirements are exactly, but this works: ./vanitygen -F script 333333 Difficulty: 264104224 Pattern: 333333 P2SHAddress: 333333dirmCEYVJGZavhjt2fmWL15boJYx Address: 12ZEW67DZX9LP1rNQq6bSnw1mnkemKvo6H Privkey: 5J48B7JDChgvAUGPA5p6yvjwZtyFufJizc6jFSci6Jwu9KzQdFh Only CPU though, and no bc1-address. Using non-native SegWit feels a bit like a 50% solution. This is not "non-native SegWit" address, is it? This is just a standard non-segwit P2SH address, right? (non-segwit multi-signature address) Since this is not a segwit P2SH-P2WPKH address, then it won't save us on tx size and fee
|
|
|
|
reallester
Full Member
Offline
Activity: 646
Merit: 102
http://Moonbet.io
|
|
May 25, 2019, 02:23:58 AM |
|
~
Are this for x64 windows, correct? You know how to fix my problem?, got error when to star running The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem
|
|
|
|
igor72
Legendary
Offline
Activity: 1834
Merit: 2018
Crypto Swap Exchange
|
|
May 26, 2019, 10:31:34 AM |
|
~
Are this for x64 windows, correct? You know how to fix my problem?, got error when to star running The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem Same here.
|
|
|
|
ABCbits
Legendary
Offline
Activity: 2870
Merit: 7484
Crypto Swap Exchange
|
|
May 26, 2019, 04:12:38 PM |
|
Are this for x64 windows, correct? You know how to fix my problem?, got error when to star running The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem Same here.
Looks like you guys didn't install Visual C++ Redistributable Packages / it's corrupted, you can download it at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloadsAFAIK you need to download 2015 or 2012 version.
|
|
|
|
roosbit
Member
Offline
Activity: 891
Merit: 43
Random coins :)
|
|
July 08, 2019, 12:29:09 PM |
|
Has anybody tried VanitySearch 1.15 , I kept getting access denied when trying to create a Vanity Address after using this code >> E:\Vanity>vanitysearch.exe -stop -o save.txt 3XXX <<< even after running CMD as an administrator FYI reverting back to Version 1.14 seems to run without a problem ,Am I doing something wrong or version 1.15 is bugged? I guess the old saying of "If it ain't broke, don't fix it" is what am looking at atm.
|
|
|
|
pandukelana2712
|
|
July 08, 2019, 01:36:13 PM Last edit: July 08, 2019, 02:17:47 PM by pandukelana2712 |
|
Has anybody tried VanitySearch 1.15 , I kept getting access denied when trying to create a Vanity Address after using this code >> E:\Vanity>vanitysearch.exe -stop -o save.txt 3XXX <<< even after running CMD as an administrator FYI reverting back to Version 1.14 seems to run without a problem ,Am I doing something wrong or version 1.15 is bugged? I guess the old saying of "If it ain't broke, don't fix it" is what am looking at atm. I have no problems with that code Did you download the vanitysearch from JeanLuc github? I use code: [disk/folder]vanitysearch.exe -stop -o pandu.txt 3PAND
Screen result : File result: PS: I'm using old PC with 4Gb RAM; OS Windows 7 with 2012 Visual C++ Redistributable Packages
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18510
|
|
July 08, 2019, 06:28:25 PM |
|
Has anybody tried VanitySearch 1.15 , I kept getting access denied when trying to create a Vanity Address after using this code >> E:\Vanity>vanitysearch.exe -stop -o save.txt 3XXX <<< even after running CMD as an administrator FYI reverting back to Version 1.14 seems to run without a problem ,Am I doing something wrong or version 1.15 is bugged? This is presumably because you don't have permission from Windows to access the files for version 1.15, or the files are not present or corrupted at the address you have entered. I would first delete the program and reinstall it from scratch. Make sure your input in command prompt matches the directory where you have installed it. If it's still not working, then right click on the "Vanity" folder, hit "Properties" then "Security". Make sure your user account has Read & Execute permissions. You could also try hitting "Advanced", and changing the owner to your own account, making sure to check the box marked "Replace owner on subcontainers and objects".
|
|
|
|
AakZaki
Legendary
Offline
Activity: 2310
Merit: 1076
zknodes.org
|
|
December 07, 2019, 08:05:22 PM |
|
I have made it following the tutorial above, but I'm still confused because I can't find the Private Key for the address that I created. then where can I find my private key? does anyone want to tell me.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18510
|
|
December 07, 2019, 08:38:10 PM |
|
Your private key is right there in the text file you have shared a screenshot of.
"Priv (WIF)" is your private key in wallet import format. "Priv (HEX)" is your private key in hexadecimal format.
Most wallets would accept the private key in WIF. The "p2wpkh-p2sh" (pay to witness public key hash - pay to script hash) bit at the start tells your wallet what kind of address it is (nested segwit). The rest of that line (from L537... to ...TtMG) is your actual private key.
Obviously you should never ever use that particular private key since you have just shared it online. Generate a new vanity address before importing.
|
|
|
|
masulum
Legendary
Offline
Activity: 2226
Merit: 1592
hmph..
|
|
December 08, 2019, 01:08:54 AM |
|
<snip>
An additional post, because your question already answered by o_e_l_e_o, if you want to import, you need to copy all including p2wpkh-p2sh:Sorry to reuse your example address
|
|
|
|
AakZaki
Legendary
Offline
Activity: 2310
Merit: 1076
zknodes.org
|
|
December 08, 2019, 03:56:36 AM |
|
~snip~ Obviously you should never ever use that particular private key since you have just shared it online. Generate a new vanity address before importing.
Yes I know, I will not use that address because it is just an example, I am confused about how to import it into the Blockchain wallet. Is the key above can only be imported into the Electrum wallet?
|
|
|
|
masulum
Legendary
Offline
Activity: 2226
Merit: 1592
hmph..
|
|
December 08, 2019, 04:32:21 AM |
|
It can be imported using trezor, bitcoin core, am not really sure about blockchain.com, if you can't import this kind of address, i think they are still not supported p2wpkh-p2sh.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18510
|
|
December 08, 2019, 09:06:58 AM |
|
Is the key above can only be imported into the Electrum wallet? The above key can be imported in to pretty much any wallet, but it will not necessarily give you your vanity address. On blockchain.com you can import keys by clicking on "Settings" in the top right, then "Wallets & Addresses", and then "Import Bitcoin Address". The same private key is associated with multiple addresses. We can derive a legacy/p2pkh address (starting with a "1"), a nested segwit/p2wpkh-p2sh address (starting with a "3", as in your case), and a native segwit/bech32/p2wpkh address (starting with "bc1"), all from the same private key. Blockchain.com, as far as I am aware, only supports legacy addresses, so if you import your private key, you will end up with an address which begins with "1" and doesn't look anything like your desired vanity address. You could import the address itself rather than the private key, but then it would be watch only and you wouldn't actually be able to spend the funds. You have two options here. Either generate a legacy vanity address beginning with a "1" rather than a "3", or use a wallet such as Electrum.
|
|
|
|
Blowon
|
|
January 29, 2020, 07:16:28 AM |
|
Then how to import from privkey hexadecimal ?
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18510
|
Which wallet are you using, and what type of address (Legacy "1", Nested SegWit "3", or "Native SegWit "bc1") are you trying to import? Some wallets will accept a private key in hexadecimal, but most will want you to convert it to Wallet Import Format (WIF) first. You can do this using https://www.bitaddress.org/. You should scroll to the bottom of the page and download the page as a zip, and then run it offline, preferably on a permanently offline computer. Under the "Wallet Details" tab, enter your private key in hexadecimal and click "View Details", and it will convert your key to WIF (near the bottom left, 51 characters starting with "5"). You should then be able to import this to the wallet of your choice.
|
|
|
|
|