importprivkey "smileycoinprivkey" ( "label" rescan )
Adds a private key (as returned by dumpprivkey) to your wallet.
"smileycoinprivkey" (string, required)
The private key (see dumpprivkey)
"label" (string, optional)
an optional label
rescan (boolean, optional, default=true)
Rescan the wallet for transactions
Dump a private key
smileycoin-cli dumpprivkey "myaddress"
Import the private key
smileycoin-cli importprivkey "mykey"
Import using a label
smileycoin-cli importprivkey "mykey" "testing" false
As a json rpc call
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importprivkey", "params": ["mykey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:9332/