Post
Topic
Board Announcements (Altcoins)
Re: [ANN][DCR] Decred - Hybrid PoW/PoS | btcsuite Devs | Tons of New Features | Go
by
EmilioMann
on 19/06/2018, 04:00:59 UTC
What's the correct command to check total balance (locked and spendable). Since in 0.8.0 it has changed slightly, I wonder if I use the right one because my balance does not show up correctly after ticket purchase. The balance was however shown correctly after 0.8.0 update.

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.
Need help. I cant send DCR from Exodus wallet. In developers mod in it, i get adress and privavat key. So i did those steps:
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)


the best place for you to get support from devs is in slack.
join here https://slack.decred.org