Bitcoin Forum
November 09, 2024, 05:55:11 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there any way to import Bitcoin private keys from TXT file  (Read 226 times)
jovica888 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 11


View Profile
March 10, 2018, 04:35:31 PM
 #1

I need something like - I paste list of private keys and click "OK"

or

Browse - and I found txt file where are my private keys and then I click OK...
TryNinja
Legendary
*
Offline Offline

Activity: 3010
Merit: 7437


Top Crypto Casino


View Profile WWW
March 10, 2018, 04:36:23 PM
 #2

With which software?

Elecrtrum allows that. If you don't know how: https://bitcoinelectrum.com/importing-your-private-keys-into-electrum/

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jovica888 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 11


View Profile
March 10, 2018, 06:28:13 PM
 #3

But with Elecrtrum I can not import more than 30 addresses. When I add more than 30 keys those address won't display at address TAB
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
March 10, 2018, 06:38:48 PM
 #4

But with Elecrtrum I can not import more than 30 addresses.
When I add more than 30 keys those address won't display at address TAB

Im pretty sure it should work to import more than 30 private keys at once.
What are you trying to accomplish? Do you want all of your addresses being visible in the address tab?
Or do you just want to check the balance/sign TX/etc.. ?

You might use the console to check whether your private keys got imported. listunspent() will list all addresses with balance.

Aura
Sr. Member
****
Offline Offline

Activity: 518
Merit: 268


View Profile
March 10, 2018, 06:44:39 PM
 #5

But with Elecrtrum I can not import more than 30 addresses. When I add more than 30 keys those address won't display at address TAB
Bitcoin Core allows it, according to deepceleron. He describes here how to do it: https://bitcointalk.org/index.php?topic=1344625.msg13709228#msg13709228

Formatting can be done in Notepad++, using plugins like TextFX.
jovica888 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 11


View Profile
March 10, 2018, 06:54:13 PM
 #6

Every client of my business have 1 address. So I want to know when they pays.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
March 11, 2018, 03:07:05 AM
Last edit: November 15, 2023, 08:11:00 AM by HCP
 #7

But with Elecrtrum I can not import more than 30 addresses. When I add more than 30 keys those address won't display at address TAB
What version of Electrum are you trying to use?

I just imported this list of 40 private keys into Electrum v3.1.0:
("File -> New\Restore -> Import Bitcoin Addresses or Private Keys")
Quote
L3y7CSoyV7sPQzC3jKXjiMc391eXnnuZLf5SRdUmD1xCmz5eRF5V
L2KuYHa9hem7ra2Q48FqgiduvXnxmZCAUd5zVr7XeJc1woMkS9oi
L2A953BooZCcs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GMRQm9UYxRmmtmK8Z41aJS1
L2yVbRNypK1kx5CzGZRcBbskUkHkXaLx3TiVz5SfnmdvijSaFSrQ
L4sJgGEUquQz2KFiCoMmNHQuFhcEbjx1SaLmzYtguByfi1tkwrPe
Kz7qhcQVpUeFWh6rPrVadsZMoNEmp9W8nujHTR9E45BXGsMncXoK
L2ccRMcWhxvRVy3ctqm5QRSSTmZAoQn6kavsKwQPHEaB54Vr778X
KxdMvDEbUhMcGuk15KZikzDQwsfoJygHR7T9rLzLeTqK5MHKq5hP
KxCYg3BzorXmzzaXtPHZFXBhgzzJxiy2sFDarDTjJVFfzB5WvgER
L5eVq8bSmFeWYzmcNvHWX9hcUmTTrkBDQYDF2VoVwarzdSFaJs12
KzfveAkG8WhDoxUnfrPFMskxXwTAjnVYNf45t6VESJ4RBikkKoEq
KzRPa9KtDgHNydKCLiE8P9tQZ3J3sj7M7o4Rh34GddHEcGouyx1B
L1zWrArHwo8KUPJaYZtJKktF2XnPjKgcWHezjeveu1BsP3hALoZd
KyLa6ujsCj1NXtXjg2n19CYmz2omaQgmT1cA5CvvivFUYUuu26vT
KyWY9L7avZJ8hE9uEXTh82oE6wjZw5q56ugcXE4Gmg6gaY36B8au
L4xqnQeY4znYLTyspRZmDF4J3d9TeYdSkhjZveRuHJjgycJaScji
L4epffCTTzT5zWo6wYyLFmbHneHzpT31isjPpodfcpHQMcqeqohT
L29YeYT1UKHbqN7Vdyrz6P7jHmvci1ECwaTrSv8xLALL3JCag5L4
L2CkCGGNewLz2Htk9Ni3FqXswTubY6SXcYPqAbgMZYeTcBiTMChb
KyXtRK6XcXs3nMkP9RDkLiajSMeRPntJMwY59kYKBBLUBMFhgXbo


It gave this:



The only time it won't show more than 30 (by default) is if you are using an HD wallet either created from seed or by importing an "xpub" or "xprv". In that instance, you simply need to use the following command on the console:
Code:
for x in range(0, 50): print(wallet.create_new_address(False))
That will generate 50 new addresses... you can change the "50" to whatever number you like.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!