Brief Guide: Setting Up Testnet Wallet, Sending, And Receiving Coins - Os Neutral

Discussion in 'Technical Support' started by anondran, Jan 28, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. hendrayoga

    hendrayoga New Member
    Advocate (Twitter)

    Dec 28, 2015
    80
    17
    Singapore
    Enable your TLS
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
    "DisabledByDefault"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
    "DisabledByDefault"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
    "DisabledByDefault"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
    "DisabledByDefault"=dword:00000000
    
     
  2. thijsjuhhh

    thijsjuhhh New Member

    Jan 28, 2016
    50
    14
    Male
    I came accross something strange (i think)
    Last Friday i created a wallet on a pc from my office. It all worked fine. I wrote my testnet adres on the faucet page and recieved 100 decred.

    Last saturday i created a wallet on a pc from my home. This also worked fine, i did test my miner on that one and recieved some coins. Balance is about 50 decred atm on my home wallet.

    Today i am back at the office again, and i figured i could send the 100 decred i recieved in my wallet from the office pc to the adres from the wallet i created on my home pc.

    The weird part is that both dcrd adresses are the same?? I did create both wallets (home and office) with the same U en P.

    The balance at home is 50 dcrd and the ballance at the office is 100. But they do have the same adress, because i saved them in a text document like described in the guide.

    Anyone know how this is possible?
     
    thepotterone likes this.
  3. super-cpu

    super-cpu New Member

    Jan 28, 2016
    11
    13
    Male
    this tutorial is newbie friendly , easy to follow all steps ,really you did a good job, thanks @anondran
     
    anondran likes this.
  4. thijsjuhhh

    thijsjuhhh New Member

    Jan 28, 2016
    50
    14
    Male

    Nevermind. I am a moran. I switched the 2 text documents where i saved my seed and adresses in :oops:
     
  5. Gustavo

    Gustavo New Member

    Jan 29, 2016
    2
    0
    Male
    I can see my balance.
    This error appears: Post http: // localhost: 19110: tcp dial [:: 1]: 19110: ConnectEx: No connection could be made because the target machine actively refused.
    I am using the command: dcrctl --testnet --notls -u user -P pass --wallet getBalance

    Any help
     
  6. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    open wallet in its own window and let it sync first,
    then open another window and run
    dcrctl --testnet -u xxxxxx -P xxxxxx --wallet getbalance --notls
     
    Blizzy likes this.
  7. chadi

    chadi New Member

    Jan 19, 2016
    14
    3
    Male
    OK I keep running into this same issue each time. I get to Step 6 and type "dcrwallet -u user -P pass --noclienttls --noservertls --walletpass publicpassphrase --dcrdusername=user --dcrdpassword=pass". After typing in all of the info just as I did before I get this error:

    15:25:20 2016-02-01 [ERR] DCRW: invalid passphrase for master public key

    I've deleted and tried once again MAKING ABSOLUTELY SURE that what I type is correct and still the same thing. Keep in mind that I am an absolute novice at this and I am more that likely just typing the wrong thing somewhere. I just have no clue what it is. Can anyone help???????

    Here's a copy of my cmd window from start to finish (error):

     
  8. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    First of all, dont panic
     
  9. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    dcrwallet -u xxxxxx -P xxxxxxx --noclienttls --noservertls --walletpass xxxxxxxxx --dcrdusername=xxxxxx --dcrdpassword=xxxxxx

    x's after walletpass = your public passphrase from the wallet

    x's after -P = is your private passphase from the wallet
     
  10. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    "Do you have an existing wallet seed you want to use? (n/no/y/yes) [no]: y"

    Hey try clicking no when you get to this command setting up your wallet
     
  11. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    To clarify, that's definitely not the same as your wallet private passphrase. That the RPC server password.

    The wallet private passphrase is used to unlock the wallet for transaction signing and is done via the "dcrctl --wallet ... walletpassphrase ..." command.
     
    chappjc likes this.
  12. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    Works for me Dave.
     
  13. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    Yeah, it will work if they're the same, but they shouldn't be.
     
    chappjc likes this.
  14. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    i could have my notes mixed up.
     
  15. Estb

    Estb New Member
    Translator (Português)

    Jan 8, 2016
    44
    7
    Male
    Even after you have done all this, I continue to errors in mining .. Can anyone help me?

    Code:
     [2016-02-01 22:11:47] Started cgminer 3.7.2
    [2016-02-01 22:11:47] Started cgminer 3.7.2
    [2016-02-01 22:11:47] Probing for an alive pool
    [2016-02-01 22:11:47] Pool 0 slow/down or URL or credentials invalid
     
  16. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    yes i think so when you start tesnet for mining add your wallet addy to the end of the command

    dcrd --testnet --notls -u xxxxxx -P xxxxxxx --miningaddr=xxxxxxxxxxxxxxxxxxx

    then give your miner a go.
     
  17. chadi

    chadi New Member

    Jan 19, 2016
    14
    3
    Male
    Okay.. I'm okay... *deep breath*

    Yes x's after walletpass are my public passphrase and x's after -P are my private passphrase.

    The public passphrase is the passphrase I typed after this right?

    I will try that as well. If I do choose "no" here I will just leave the --walletpass publicpassphrase command out of the next command line right?

    ok.... So, where does the RPC server password come from?

    Thanks for your help guys!
     
  18. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    i will see what Dave says before i quote
     
  19. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    You are correct in regards to the public wallet passphrase. The RPC server password is something you invent. It is different than the private wallet passphrase you entered when creating the wallet.

    For example, a quick way to test is to simply change -P on the command line to PASS, then when using dcrctl ensure you have -P PASS for it as well. The private wallet passphrase will still be whatever you entered when you created the wallet.
     
    chappjc likes this.
  20. chadi

    chadi New Member

    Jan 19, 2016
    14
    3
    Male
    I am getting confused by the terminology here. It seems that some phrases are used interchangeably and I am not up to code on them. Let me do this, I'll write out exactly what I am doing below ( these are not my username and passwords/phrases of course) and you guys let me know if I have done anything wrong.

    Now I have used the same password formy dcrd password and my wallet private passphrase. I see that they should be different, but it should still work. Whenever I write out what is above I still get that "invalid passphrase for master public key" error. I know I am doing something wrong here, I just can't figure out what that is.
     

Share This Page