In this guide I will show you how to make money with Decred. I will explain how to use the official Proof of Stake (PoS) pool. If you are a total newcomer you will have to learn a lot of new things. No worries, most of your questions will be answered in the Links and Forum Discussions that I will refer to. In case you have any specific questions, feel free to reach out to me via Twitter. Let's get started!
Background
Decred uses a hybrid PoW/PoS system. The process of creating blockchain consensus is thus balanced between miners and stakeholders. Miners 'mine' to validate blocks, and stakeholders 'vote' to decide if the block is indeed valid. Both miners and stakeholders can count on a reward. Even users with small amounts of coins will be able to participate in creating consensus by joining PoS pools. For a detailed explanation of how the hybrid PoW/PoS system of Decred works, check out:
http://cryptotales.blogspot.in/2016/02/pow-pos-whats-going-on.html
Rationale
How do we make profit? We will invest our DCR funds in the PoS process by joining a PoS pool. The PoS process is designed as a lottery with a guaranteed reward. How do we invest? By buying lottery tickets. The tickets will grant us voting rights via the PoS pool. Each time one of our tickets is called to vote on a block, we will obtain a reward after the vote is confirmed. The pool is always online, so we will never miss a vote. It is designed in a way that both you and the pool have voting rights, so you can leave your wallet online as a backup to the pool if you want.
The best pool to start stake mining Decred for now is:
https://dcrstakes.com
Getting Started
The first step is to get yourself some DCR funds. If you don't have any coins (or stake) yet, please follow
this blog post on how to obtain DCR. If you have a wallet with funds available, write down your seed and let's get started with setting up a desktop wallet. The command line interface is very easy once you've used it. These guides explains everything in great detail:
http://cryptotales.blogspot.in/2016/02/how-to-start-mining-decred.html
http://cryptotales.blogspot.in/2016/04/decred-basic-commands-with-explaination.html
IMPORTANT! Download the latest software:
https://github.com/decred/decred-release/releases
Follow steps of the how-to-start-mining guide to set up your wallet by importing your seed. After unpacking the software in a map dedicated to Decred, hold Shift and Rightclick in that map to open a new command line window. The commands that you will need are listed below (my comments between brackets). Hit enter after each line.
In command window #1:
dcrd -u [...] -P [...]
(choose username and password for the dcrdaemon)
Example: dcrd -u noahdcrd -P mynewpass1@
Your deamon should now start downloading the Decred blockchain.
IMPORTANT! Let the blockchain sync completely before moving to the next step. For the most recent block height you can check:
https://mainnet.decred.org/
In command window #2:
dcrwallet --create
- The wallet will ask you to input a private passphrase for your wallet. While entering, the passphrase will look blank, but actually you are typing (remember this). Confirm by typing it again.
- Now, it will ask you if you want to add an additional encryption layer for public data. Say 'yes', type the public passphrase and confirm by typing again (it will look blank as well).
- Next, when it asks if you have an existing wallet seed, enter 'yes' and type the 33-word text carefully (without any mistakes or CasE eRrOrs).
It should now say: The wallet is successfully created.
In command window #2:
dcrwallet -u [...] -P [...] --walletpass [publicpassphrase] --dcrdusername=[user] --dcrdpassword=[pass]
(choose a user and pass for the wallet, and fill out the other data)
Example: dcrwallet -u noahwallet -P mynewpass2# --walletpass mypubpassphra --dcrdusername=noahdcrd --dcrdpassword=mynewpass1@
Your wallet should now start processing the Decred blockchain.
In command window #3:
dcrctl -u [user] -P [pass] --wallet getbalance
(to check if your wallet funds are correct)
Example: dcrctl -u noahwallet -P mynewpass2# --wallet getbalance
Congratulations, you are ready to start! Keep your command windows running as we proceed.
The PoS pool
Now, we need to sign up for the PoS pool. Go to
the website and create an account. If you have registered at the stake pool, it will tell you to generate a public key address. Follow the steps as displayed. The commands that you'll need are listed below. From now on you should stop using your web wallet, to prevent syncing problems between web and desktop wallets.
In command window #3:
dcrctl -u [user] -P [pass] --wallet getnewaddress
dcrctl -u [u] -P [p] --wallet validateaddress [yournewdaddress]
If you copy and paste the 'pubkeyaddr' into the form on the website, it will generate a P2SH address that you can use to purchase tickets via the PoS pool. Go to the Tickets tab and follow the instructions. The pool has generated a script that you will need to import.
In command window #3:
dcrctl -u [u] -P [p] --wallet walletpassphrase [privatepassphrase] 1800
(this unlocks your wallet for 1800 seconds, or 0.5 hour ; set it to 0 to keep it unlocked indefinately).
dcrctl -u [u] -P [p] --wallet importscript [yourRedeemScript]
Once your script has been successfully imported, you are ready to go!
Buying tickets
Personally, I always buy my tickets manually. This allows me to have full control over my spending. This command allows you to buy tickets and transfer it to your account in the PoS pool.
In command window #3:
dcrctl -u [u] -P [p] --wallet purchaseticket "default" [maxTicketPrice] [minConfirmation] [P2SHAddress]
Example: dcrctl -u noahwallet -P mynewpass2# --wallet purchaseticket "default" 20 1 Dcsgdz1randomexampleaddressVrzf
In the example we are buying a ticket for maximum 20 DCR. The transaction has to be confirmed by exactly one block before we can make a new transaction or buy a new ticket. During this time your funds will be send to a change address that you control. The ticket price will then be send to the pool address, and the remainder of your funds will be transferred back. During this time, you won't be able to buy new tickets, as you have no spendable balance. After the block is confirmed and your balance is back, you can use it again to purchase new tickets. Determine the best price to buy by checking the current, average, and estimated price here:
https://dcrstakes.com/price
Final remarks
It is good to know that this pool absolutely cannot control your funds. It does not have your private keys, so there is no possibility. By using the PoS pool, you don't need to keep you wallet up and running after you've bought the tickets: the pool will vote on your behalf and your reward will be transferred automatically. In the future there will be more PoS pools, operated by community members. This way Decred will remain a truly Decentralised cryptocurrency.
Some useful forum threads that will help to answer many of your further questions:
http://cryptotales.blogspot.in/2016/04/1.html