Pages:
Author

Topic: How to Import 100 Private Keys (Read 259 times)

legendary
Activity: 2268
Merit: 18509
January 29, 2022, 09:34:50 AM
#21
But, why would they have a private key in Base64? This is definitely not what's wrong here.
Bitaddress still gives private keys in Base64 format.

if it's a WIF it has to contain both uppercase and lowercase characters.
It can (and usually does), but it doesn't have to. 5JAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABW8UEE6 is a perfectly valid WIF key, for example.
legendary
Activity: 952
Merit: 1367
January 27, 2022, 04:41:21 PM
#20
If you want help, why do not you answer to questions? Why you do not say clearly what you have?
Do you have 44 characters, 51 or 52?
Do you have any characters which are not on this list: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Do you know address which should be created?
Do you remember the source of your private key, maybe program you used?

As it was said before - you have methods to decode key if it has length 44, you have tool to fix ‘modified’ WIF if it has 51 or 52 characters…
But we are guessing…
newbie
Activity: 7
Merit: 6
January 27, 2022, 03:31:45 PM
#19
thank you very much, maybe it starts at 5 or L
I think it will probably take about 20 more attempts to get a correct key. If not, I will have negative thoughts.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
January 27, 2022, 03:28:40 AM
#18
For example hexadecimal (Base16) would give you 64 characters.
Adding something very important: Hexadecimal characters are not case-sensitive and therefore, doesn't matter if they're all represented in uppercase or lowercase. @anyone2022, if it's a WIF it has to contain both uppercase and lowercase characters.

it could be an altcoin WIF
I confirm that neither Dogecoin, Litecoin nor Bitcoin Cash work with WIFs that start with 7.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
January 27, 2022, 03:07:21 AM
#17
maybe i changed the first 3 letters of the private key, it has it has 44 letters and numbers including uppercase and lowercase letters.
-snip-
Maybe you didn't, maybe it's a private key in "BASE64" format like mentioned above.
You can use the tool below to convert it into "BASE58check" (WIF) to be able to be compatible with most Bitcoin wallets.
Here: https://brainwalletx.github.io/#converter |  Use it on an offline machine: "Download ZIP", extract, copy to the offline PC then run using your browser.

To convert, Go to "Converter" tab, paste the 44 characters private key, select "Base64" for the 'Source Encoding' and "B58Check" for the 'Convert to'.
If the base64 in the Source Encoding isn't selectable, then it's not a BASE64 prvKey;
otherwise, the result should be a 51-character string that starts with '5' which is the WIF (Wallet Import Format) private key.
legendary
Activity: 3430
Merit: 10505
January 27, 2022, 12:05:45 AM
#16
but I still have some thoughts that bitcoin also has a private key that starts with 7
maybe i changed the first 3 letters of the private key, it has it has 44 letters and numbers including
Bitcoin private keys are simply numbers and a number can be encoded in different ways to have a different set of characters. For example: 1 or one or 0x01 or 0b00000001 are four different ways to represent number one.

The common encoding used by all wallets is called WIF which uses an encoding algorithm called Base58. When a private keys is encoded this way it always has either 51 or 52 characters and starts with L, K or 5.
Other encodings may be used but they are very uncommon and will result in a different number of characters and the starting character could be anything. For example hexadecimal (Base16) would give you 64 characters.

So if you have a key that starts with 7 it definitely is not a bitcoin WIF (it could be an altcoin WIF). If the length is 64 and has hexadecimal characters then it could be hexadecimal format.
Essentially you have to see what character types your string has and what is its length to figure out the encoding.

Another possibility is that what you have is just a random string that has nothing to do with bitcoin or private keys.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
January 26, 2022, 04:34:57 PM
#15
maybe i changed the first 3 letters of the private key, it has it has 44 letters and numbers including uppercase and lowercase letters.
No private key is 44 characters long. Not even a mini private key used only in Casascius bitcoins.

but I still have some thoughts that bitcoin also has a private key that starts with 7
You can't really have a private key that starts with 7 unless it's represented in hexadecimal format which means you've generated yourself, without using a wallet software. The above users have given you some decent responses. You're probably having another problem you don't seem able to formulate.

Private Key Base64 (44 characters). It can start from any number or alphabet (I guess). Convert it to WIF and see if it will work
But, why would they have a private key in Base64? This is definitely not what's wrong here.
newbie
Activity: 7
Merit: 6
January 26, 2022, 03:35:56 PM
#14
maybe i changed the first 3 letters of the private key, it has it has 44 letters and numbers including uppercase and lowercase letters.
I also previously saved the private key 51 or 52 and do the same.
With your help, my spirit becomes better
thank all
legendary
Activity: 1512
Merit: 4795
January 26, 2022, 03:15:58 PM
#13
but I still have some thoughts that bitcoin also has a private key that starts with 7
Hexadecimal format (64 characters). It can start from 0-9, A-F
Private Key Base64 (44 characters). It can start from any number or alphabet (I guess). Convert it to WIF and see if it will work, that is what that matters most.
newbie
Activity: 7
Merit: 6
January 26, 2022, 03:06:13 PM
#12
yes maybe it starts at L or 5
but I still have some thoughts that bitcoin also has a private key that starts with 7
when I add about 20 times, I feel tired, scared, so I hope to be able to use about 10 or 20 different private keys at one time.
that's good for the user and can still be safe from other people's private key sniffers
thank all
legendary
Activity: 1512
Merit: 4795
January 26, 2022, 02:55:39 PM
#11
He could paste one by one into electrum. If it is not gray, it the one he needs.
Yes, this will be time consuming. If he would have to first convert the private keys to WIF, only the valid ones will be converted successfully.

Yes, and i want to ask for the private key starting with 7, will it be 51 or 52 characters
Thank you.
No.

51 character private keys starts from 5
52 character private keys starts from K or L

Try and read what I have posted before about the private key format

So far your private key is 44 character, likely it should look like this:

OjgDyp/BieDr3QRoe8MPsSdEfrpqvcUSZvkUZIUizfw=

It can also contain other two characters that are not alphabets or numbers

Any number or letters can start it. Follow above explanation to convert it to WIF.



Never reveal your private key to anyone, anyone that knows it can use it to spend your coins.
legendary
Activity: 952
Merit: 1367
January 26, 2022, 02:43:04 PM
#10
Hi all
My private key is changed 1 or 2 characters, and i compose about 100 lines on file txt, how can it be added automatically to know which key is correct instead of trying in turn.


Yo may use my WifSolver, option ROTATE:

https://github.com/PawelGorny/WifSolver

I think it does exactly what you need.

Yes, and i want to ask for the private key starting with 7, will it be 51 or 52 characters

If it was 5... and you changed to 7... then it is uncompressed, 51 characters.
Compressed characters has 52 and starts with L1/2/3/4/5 or Kw/x/y/z
newbie
Activity: 7
Merit: 6
January 26, 2022, 02:41:01 PM
#9
Yes, and i want to ask for the private key starting with 7, will it be 51 or 52 characters
Thank you.
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
January 26, 2022, 02:37:21 PM
#8
I don't think that would work. Not using the UI anyway. Electrum checks the private keys before importing them so if you paste 100 private keys, you're not going to be able to import any of them because the "next" button will be greyed out since one of them is incorrect.


What you said made me think of this problem in a different way.

So technically he just needs to make a checksum: if the private key is valid, that is the one he needs!

He could paste one by one into electrum. If it is not gray, it the one he needs.

The problem is that it will be too much time consuming.
legendary
Activity: 1512
Merit: 4795
January 26, 2022, 02:33:21 PM
#7
how many characters will be the private key if starting with 7 or 1, and if i enter the private key 44 characters in electrum is it ok?
You will have to convert it to WIF, you can do this using https://bitaddress.org offline on a safe device, it will be best to use its html file on a safe and secure airgapped device.

How to download bitaddress.org to use offline?

After setup: but which you can also see directly on the site but using it online is not safe like offline, on airgapped device.

Click on wallet details -> enter the private key (only one after the other, not multiple) -> view details.

You will be able to see all formats you want.

That 51 character will start from 5, you can import it directly on Electrum, but you can also prefer to follow the illustration above to convert it compressed if you want.
newbie
Activity: 7
Merit: 6
January 26, 2022, 02:21:57 PM
#6
thank you very much
how many characters will be the private key if starting with 7 or 1, and if i enter the private key 44 characters in electrum is it ok?
i just remember it started as 5 or 7 or L
because i changed the first 2 letters, it's not K
can i import a 51 character and 44 character private key at electrum ?
is it difficult to convert from base64 to wif ?
legendary
Activity: 1512
Merit: 4795
January 26, 2022, 02:21:42 PM
#5
I think you are confused, let me explain it a bit further for you.

Wallet import format (WIF) private key starts from 5, K or L

5-prefix private keys are uncompressed but yet WIF (51 characters)
Example: 5JFvhiXshr2uVRDF7tq2HskmXiXDzg2hwa3h8kVhVTxUwJm4JUs

K or L prefix private keys are compromised and they are WIF (52 characters)
KyAt2iKGoHRQgRs3KRkxhV2BYaGQMZGXhrrt9CyfidytJZz5SDQv


The remaining two other ones which are not WIF are:

Hexadecimal format (64 characters [0-9A-F])
3A3803CA9FC189E0EBDD04687BC30FB127447EBA6ABDC51266F914648522CDFC

Private Key Base64 (44 characters)
Example: OjgDyp/BieDr3QRoe8MPsSdEfrpqvcUSZvkUZIUizfw=

If you have any of this type, you can convert from one to another, but is that the issue?
staff
Activity: 3402
Merit: 6065
January 26, 2022, 02:06:11 PM
#4
Do you have your private keys in a txt file?

You can just paste them in electrum. You will literally import private keys into electrum wallet:
-snip-

I don't think that would work. Not using the UI anyway. Electrum checks the private keys before importing them so if you paste 100 private keys, you're not going to be able to import any of them because the "next" button will be greyed out since one of them is incorrect.
newbie
Activity: 7
Merit: 6
January 26, 2022, 01:58:30 PM
#3
thanks for helping
it starts is 7 or L or 5 or 1, it is 51 or 52 characters
that's all i remember
this is WIF ?
and if my private key have format to 44 character so where can I import.
I can add multiple lines at electrum to find the correct private key?
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
January 26, 2022, 01:33:06 PM
#2
Do you have your private keys in a txt file?

You can just paste them in electrum. You will literally import private keys into electrum wallet:

https://bitcoinelectrum.com/importing-your-private-keys-into-electrum/
Quote
1 - Start new electrum wallet file by following this short guide. Then come back here and proceed to step 2.


2-Click on next to see the wallet type selection window:

As you can see Electrum supports different types of wallets. Just select “Import bitcoin addresses or private keys”.

3-And then you paste in your private keys in the box that it displays on the next screen:


Enter one private key per line. Electrum supports mini private keys and full sized keys in Wallet Import Format (WIF).

Note: if the addresses in the source wallet begin with 3 you have to prepend “p2wpkh-p2sh:” to each private key before importing it. If the addresses begin with bc1 then you prepend “p2wpkh:”. Click on the info button to see examples.

Done!!

if you have any balance it will show in your wallet.

Important: Which format are your private keys? You need to convert them to WIF format first.
Read more about it here:
https://en.bitcoin.it/wiki/Wallet_import_format

Edit: Download electrum from https://electrum.org
Pages:
Jump to: