Is this the correct command?
$ ./dcrctl --wallet getbalance "default"
With this as output:
{
"balances": [
{
"accountname": "default",
"immaturecoinbaserewards": x,
"immaturestakegeneration": x,
"lockedbytickets": x,
"spendable": x,
"total": x,
"votingauthority": x
}
],
Yes, that shows balance of "default" account.
1. dcrd --rpcuser user --rpcpass pass --notls (star server on Win10pro)
2. dcrwallet --username user --password pass --dcrdusername=user --dcrdpassword=pass --noclienttls (sync wallet with blockchain)
3. dcrctl -u user -P pass --wallet walletpassphrase "1234" 0 (unlock defaul wallet)
4. dcrctl -u user -P pass --wallet importaddress D******************r ( it says: -32601: Method not found)
5. dcrctl -u user -P pass --wallet importaddress "D***************r" (rescan=true) (it says: importaddress command: parameter #2 'rescan' must parse to a bool (code: ErrInvalidType)
Usage:
importaddress "address" (rescan=true)
What iam doing wrong??
6. dcrctl -u user -P pass --wallet importprivkey "*********************" (it says: -5: WIF decode failed: malformed private key)