Bitcoin Forum
November 09, 2024, 05:11:40 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I use the new python console to import?  (Read 574 times)
Realpra (OP)
Hero Member
*****
Offline Offline

Activity: 815
Merit: 1000


View Profile
September 22, 2013, 07:47:32 PM
 #1

It seems to want 2 args for the importprivkey function, functions are given as func(arg0,arg1...) and the old import command is gone.
I think the 2 args are wallet-name and the key in some format in that order... but where do I find the wallet name?

Cheap and sexy Bitcoin card/hardware wallet, buy here:
http://BlochsTech.com
Realpra (OP)
Hero Member
*****
Offline Offline

Activity: 815
Merit: 1000


View Profile
September 26, 2013, 08:51:44 PM
 #2

Answer: The correct syntax for importprivkey is
importprivkey("keykeykeeykeykekykeykekyekkey")

All commands seem to require the quotes.

Cheap and sexy Bitcoin card/hardware wallet, buy here:
http://BlochsTech.com
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!