Testnet Only Guide: How I Got My Daemon, Wallet, And Miner Running & Also Started Solo Stake Mining

Discussion in 'Proof-of-work Mining' started by sambiohazard, Jan 28, 2016.

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

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    If you can test it, that will be great. I don't want to remove anything if it works.
     
  2. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    I think wallet creates all those address at start and getnewaddress adds one more to the pool. I will update guide to use getnewaddress.
     
  3. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    Confirmed.

    Code:
    C:\Users\davec>dcrwallet --create
    Enter the private passphrase for your new wallet:
    Confirm passphrase:
    Do you want to add an additional layer of encryption for public data? (n/no/y/yes) [no]:
    Do you have an existing wallet seed you want to use? (n/no/y/yes) [no]:
    Your wallet generation seed is:
    [redacted]
    Hex: [redacted]
    IMPORTANT: Keep the seed in a safe place as you
    will NOT be able to restore your wallet without it.
    Please keep in mind that anyone who has access
    to the seed can also restore your wallet thereby
    giving them access to all your funds, so it is
    imperative that you keep it in a secure location.
    Once you have stored the seed in a safe and secure location, enter "OK" to continue: OK
    Creating the wallet...
    The wallet has been created successfully.
    
     
    sambiohazard likes this.
  4. whis

    whis New Member

    Jan 28, 2016
    59
    7
    step 8 when i paste this dcrctl --testnet -u walletuser -P walletpass --wallet getnewaddress --notls
    i get this error

    sn.PNG
     
  5. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    @whis:

    You have the --notls after the command. It should be before the "getnewaddress".

    EDIT: @sambiohazard

    Guide should be updated accordingly too. The params have to come before the command.
     
  6. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    That is strange, i am able to run it like that.[​IMG]
     
  7. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    try
    dcrctl --testnet -u walletuser -P walletpass --notls --wallet getnewaddress
     
  8. whis

    whis New Member

    Jan 28, 2016
    59
    7
    Doesnt work, is the -u and -p the username and password used in step one?

    I tried also replacing "walletuser" as the username i choose in step one, same for the "walletpass" which i replaced with the password i choose in step 1
     
  9. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
  10. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    As far as I know they should be different.
     
  11. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    are you sure your wallet is running? do you have 3 command windows open by now? One running daemon, second running your wallet & thrid in which you are entering this command.
     
  12. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    After line #6. I got cursor blinking inside CMD window and it looks like still syncronizing with testnet, I mean in that window I can not type command from line #8. So I opened new CMD and type command line #8. But it not show me my wallet addres, after few seconds I just got normal line, prepared for insertion command. How can I find my wallet address than?
    I follow your tutorial step by step few times and got stucked here.
     
  13. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Hmm i am not sure what is wrong. Is your wallet synced? My wallet is at block 1950. Maybe @davecgh can help here.
     
  14. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    now at block 1953
     
  15. whis

    whis New Member

    Jan 28, 2016
    59
    7
    #35 whis, Jan 28, 2016
    Last edited: Jan 28, 2016
    I restarded over again, in step one 1 changed my username and pass (hope that isnt the issue). Yes i have 1 for deamon, other for wallet and i opened a third window, pasting this dcrctl --testnet -u walletuser -P walletpass --notls --wallet getnewaddress and it says 401 unautorized, then i tried to replace "walletuser" and "walletpass" with the username and password i choose in step one but i get the same 401 unautorized error.

    this is the second window
    sn.PNG
     
  16. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    #36 MiloIce, Jan 28, 2016
    Last edited: Jan 28, 2016
    its showing pool 0 slow/down or URL or credentials invalid. Any idea what is causing this?
     
  17. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    I tried the whole tutorial by starting from scratch and everthing worked for me. I didn't try mining but that should work too.

    @MiloIce did you change username and password to what you used to run daemon?
     
  18. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    yes I did, checked that they are same. what might be wrong =(
     
  19. Vanputlei

    Vanputlei Jr. Member
    Translator (Nederlands)

    Jan 12, 2016
    69
    36
    Male
    Belgium
    Hi Guys,
    Has someone an idea why its not possible to me to open the command box?

    Actually it pops up and is closing down (automatical) in less than 0.1 sec
     
  20. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Your screenshot shows your wallet username is "username" & password is "password". Did you use same in dcrctl command? Also wallet doesnt seem to be connected to daemon. I think you need to sort out your usernames & passwords.
     

Share This Page