Bitcoin Forum
September 05, 2025, 02:48:31 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: php importprivkey ?????????  (Read 1454 times)
AgoraLive (OP)
Full Member
***
Offline Offline

Activity: 221
Merit: 101



View Profile
February 15, 2015, 06:51:21 PM
 #1

Why doesn't this work (don't worry, the wallet is empty now)

$bitcoin->importprivkey(7AAMVEfPJ89j5EAwr1s2JHvSpLbdSmwbUnJUWuAfPBknvdRptVf test);

Other jsonrpc commands are working....

$bitcoin->getbalance();
AgoraLive (OP)
Full Member
***
Offline Offline

Activity: 221
Merit: 101



View Profile
February 15, 2015, 07:04:31 PM
 #2

That's because it is for an ALTCOIN, but the JSONRPC should still be the same???
AgoraLive (OP)
Full Member
***
Offline Offline

Activity: 221
Merit: 101



View Profile
February 15, 2015, 07:34:46 PM
 #3

$bitcoin->importprivkey("privatekey", "Label");

This was the solution, thank you  Grin
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!