Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setting up Decred on Linux (Assuming using Ubuntu)
- Step 0 – Username and Passwords
- You will need usernames and passwords to secure your applications.
- I suggest you just bang on your keyboard and select two sets of 16-20
- characters of random text. Pick one to be a user the other to be a pass.
- It really doesn’t matter. You will be storing them in config files
- so you don’t need to remember them.
- Step 1 – Get latest binaries for your OS
- Download and extract dcrd, dcrwallet, dcrctl to your home directory
- Step 2 – Setup Decred Daemon Node (dcrd)
- Create a folder “.dcrd” in your home directory
- Create a file name “dcrd.conf” inside that dir and add the following 3 lines
- [Application Options]
- rpcuser=*put username here*
- rpcpass=*put username here*
- Open a terminal and type "./dcrd" and your Decred node will start up and connect to the network
- It's going to take a while for it to sync up to the network. Like maybe a few hours. Don't try to
- send or receive any coins until the thing is caught up. Remember that it always takes some time to sync
- up so if you don't run the node for a few days it will take time to catch up to the network.
- Step 3 – Setup The Wallet (dcrwallet)
- Create a folder “.dcrwallet” in your home directory
- Create a file named “dcrwallet.conf” insid ethat dir and add the following 8 lines
- [Application Options]
- username=*put username here*
- password=*put password here*
- dcrdusername=*put username here*
- dcrdpassword=*put password here*
- enablestakemining=1
- balancetomaintain=0.0
- ticketmaxprice=15.0
- First time you run you need to create a wallet by calling “./dcrwallet –create”.
- Follow the onscreen guides and make sure to save you seed. That seed is a master
- code that gives you access to your coins. Even if you lose your computer you can
- always recreate a wallet with the same see and get your coins back. If you lose it,
- the money is gone forever! Also, never share that seed. If anyone else gets access
- to it they can steal your money!
- As part of the creation you will be required to set and wallet password. This is
- different from the password you are using in the config files. Use a password you
- normally use to secure accounts.
- After creations then you just run the wallet again by calling “./dcrwallet –walletpass *wallet pass*”
- Remember both the dcrd and dcrwallet must always be running in other terminals to send and receive coins.
- Step 4 – Setup Control Utility (dcrctl)
- This utility is what you use to make requests to send and receive coins.
- Create a folder called “.dcrctl”
- Create a file called “dcrctl.conf” in that folder (seeing a pattern yet?)
- Add the following 3 lines to it
- [Application Options]
- rpcuser=*put username here*
- rpcpass=*put username here*
- Step 5 – Testing it all works
- In yet another terminal type in “./dcrctl –wallet getbalance default 0 all”
- This will return a value of how many coins you have in your wallets
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement