Advertisement
Guest User

Untitled

a guest
Apr 16th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. Setting up Decred on Linux (Assuming using Ubuntu)
  2.  
  3. Step 0 – Username and Passwords
  4.  
  5. You will need usernames and passwords to secure your applications.
  6. I suggest you just bang on your keyboard and select two sets of 16-20
  7. characters of random text. Pick one to be a user the other to be a pass.
  8. It really doesn’t matter. You will be storing them in config files
  9. so you don’t need to remember them.
  10.  
  11. Step 1 – Get latest binaries for your OS
  12.  
  13. Download and extract dcrd, dcrwallet, dcrctl to your home directory
  14.  
  15. Step 2 – Setup Decred Daemon Node (dcrd)
  16.  
  17. Create a folder “.dcrd” in your home directory
  18. Create a file name “dcrd.conf” inside that dir and add the following 3 lines
  19.  
  20. [Application Options]
  21. rpcuser=*put username here*
  22. rpcpass=*put username here*
  23.  
  24. Open a terminal and type "./dcrd" and your Decred node will start up and connect to the network
  25. It's going to take a while for it to sync up to the network. Like maybe a few hours. Don't try to
  26. send or receive any coins until the thing is caught up. Remember that it always takes some time to sync
  27. up so if you don't run the node for a few days it will take time to catch up to the network.
  28.  
  29. Step 3 – Setup The Wallet (dcrwallet)
  30.  
  31. Create a folder “.dcrwallet” in your home directory
  32. Create a file named “dcrwallet.conf” insid ethat dir and add the following 8 lines
  33.  
  34. [Application Options]
  35. username=*put username here*
  36. password=*put password here*
  37. dcrdusername=*put username here*
  38. dcrdpassword=*put password here*
  39. enablestakemining=1
  40. balancetomaintain=0.0
  41. ticketmaxprice=15.0
  42.  
  43. First time you run you need to create a wallet by calling “./dcrwallet –create”.
  44. Follow the onscreen guides and make sure to save you seed. That seed is a master
  45. code that gives you access to your coins. Even if you lose your computer you can
  46. always recreate a wallet with the same see and get your coins back. If you lose it,
  47. the money is gone forever! Also, never share that seed. If anyone else gets access
  48. to it they can steal your money!
  49.  
  50. As part of the creation you will be required to set and wallet password. This is
  51. different from the password you are using in the config files. Use a password you
  52. normally use to secure accounts.
  53.  
  54. After creations then you just run the wallet again by calling “./dcrwallet –walletpass *wallet pass*”
  55.  
  56. Remember both the dcrd and dcrwallet must always be running in other terminals to send and receive coins.
  57.  
  58. Step 4 – Setup Control Utility (dcrctl)
  59.  
  60. This utility is what you use to make requests to send and receive coins.
  61.  
  62. Create a folder called “.dcrctl”
  63. Create a file called “dcrctl.conf” in that folder (seeing a pattern yet?)
  64. Add the following 3 lines to it
  65.  
  66. [Application Options]
  67. rpcuser=*put username here*
  68. rpcpass=*put username here*
  69.  
  70. Step 5 – Testing it all works
  71.  
  72. In yet another terminal type in “./dcrctl –wallet getbalance default 0 all”
  73. This will return a value of how many coins you have in your wallets
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement