Bitcoin Forum

Bitcoin => Electrum => Topic started by: Realpra on September 22, 2013, 07:47:32 PM



Title: How do I use the new python console to import?
Post by: Realpra on September 22, 2013, 07:47:32 PM
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?


Title: Re: How do I use the new python console to import?
Post by: Realpra on September 26, 2013, 08:51:44 PM
Answer: The correct syntax for importprivkey is
importprivkey("keykeykeeykeykekykeykekyekkey")

All commands seem to require the quotes.