Bitcoin Forum
May 11, 2024, 08:39:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I use the new python console to import?  (Read 545 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
1715459995
Hero Member
*
Offline Offline

Posts: 1715459995

View Profile Personal Message (Offline)

Ignore
1715459995
Reply with quote  #2

1715459995
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
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!