Blockchain Enthusiast (qq:53016353)
First, wallet preparation
1. Download the Wallet program:
Click to download Wallet Program
Go to GitHub and click to download the appropriate operating system wallet program
Unzip it out of 6 files
Put these 6 files in a folder, and I'll put them in the e:/dcr/.
Then click "Start" to find the command line CMD program of the win system.
Tap command to Enter program folder
E: Enter
CD DCR
entered the folder where we saved the program files just now.
(Before running the purse, first think of several user name password, one will be used, respectively: 1, blockchain program DCRD user name, password, 2, the Wallet program Dcrwallet user name, private password, public password. For example, we set up the Blockchain program user name is ABC, password is 123456, the Wallet program user name is Def, private password is 456789, the public password is 789456)
To run the Blockchain program:
Dcrd-u abc-p 123,456 return car
The program starts running, please wait for the block download
At this time the program has not downloaded the block, the program needs to scan the old block, if you have been running the process sequence, but also to connect nodes, so a bit slow, please wait for the following interface
When a chunk download record appears, you can then run the wallet program
Let the cmd command-line window run normally, and then open another CMD command-line window in the Start menu
E: Enter
CD DCR Enter
Dcrwallet--create Enter
Enter Wallet program private password 456789, confirm and enter again
Prompt to enter a public password, enter Y
Enter public password 789456, confirm and enter again
Hint if there is a wallet seed cipher, whether to use wallet seed cipher to create wallet, if you have to participate in airdrop, you can enter your AirDrop wallet seed cipher to receive the airdrop, here we create a new wallet, so select n
New wallet appeared in the seed cipher, with the red line around the word, please save this picture screenshot, or copy the word into a text file, properly preserved, do not map to others to see, do not let anyone know your seed cipher, you can later use these seed cipher to restore the wallet you created this time
When you have saved the ciphertext, you can tap the uppercase OK and the wallet is created.
Next, the wallet is connected to the blockchain
In this command window.
Dcrwallet-u def-p 456789--walletpass 789456--dcrdusername=abc--dcrdpassword=123456
Need to re-enter wallet private password 456789
Then the wallet program starts scanning the chunk data without having to let it run, and a total of two command-line windows are running. One is the blockchain program DCRD, one is the wallet program Dcrwallet.
Open a third command-line window
E:
CD DCR
Dcrctl-u def-p 456789--wallet getnewaddress
This gets the wallet's address, copy the address to a text file and save it. It is convenient for you to buy coins from the exchange to this address.
Other commands often used in the wallet program please go to the forum to view
After the exchange has been made, check whether the currency is credited via the command line, in the Third command window
Dcrctl-u def-p 456789--wallet getbalance
This command to see the number of coins available
Dcrctl-u def-p 456789--wallet listtransactions
This command looks at the transaction, including the pending transaction record
Dcrctl-u def-p 456789--wallet getbalance "default" 0 all
This command looks at all the coins, including the coins that were frozen
Dcrctl-u def-p 456789--wallet getstakeinfo
This command to view POS status information
After you mention the wallet address, the wallet POS preparation is finished, you can turn off the third window, the second window, and the first window. Next we create a batch file for POS mining.
Second, Wallet mining batch processing file production and operation
This method is more convenient, referring to a forum in the way of a post.
Create three text files with the suffix changed to bat batch file with the file name: Start server,start PoS mining,unlock Wallet
Functions are: Start the Blockchain program, start the Wallet POS program, unlock the Wallet
Here are the contents of these three files
Start Server file Contents:
Dcrd-u abc-p 123456
Start PoS Mining File contents:
Dcrwallet-u def-p 456789--walletpass 789456--dcrdusername=abc--dcrdpassword=123456--enablestakemining-- balancetomaintain=100.0--ticketmaxprice=30
(Description: Balancetomaintain This is the POS when the wallet retains how many coins do not participate in the ticket, can use the loose money, for example, keep 100, Ticketmaxprice this is set to buy the highest price, here is 30, It means that when the price exceeds 30DCR per ticket, my purse will not buy a ticket, only the ticket is less than 30.
Unlock Wallet File Contents:
Dcrctl-u def-p 456789--wallet walletpassphrase 456789 0
(Note: Set the unlock wallet so that the wallet will always be unlocked in order to participate in voting)
After the three files are made, copy to the Wallet program folder, run Start Server, and so on after the chunk starts to download, and then run start PoS mining, and so on, and so on, after the start scanning chunk data, then run Unlock Wallet, the third file runs successfully after a flash, Finally only two windows are running, this starts the POS, do not shut down, keep the network unblocked. Waiting for money to give birth.
If you want to see the state of the POS running, run another cmd command line, tap the command
Dcrctl-u def-p 456789--wallet getstakeinfo
Status Description:
Poolsize Total Online Ticket number
Difficulty now fares
Allmempooltix All-Network non-packaged transactions
Ownmempooltix of your own wallet
Immature has purchased a successful but immature number of votes
Live own wallet online ticket number
Proportionlive own wallet online votes accounted for the whole network votes ratio, is their own calculation of the total network how much
Voted votes
Totalsubsidy always receive a poll reward
MISSED the number of invalid votes, is selected you vote, but you broke the net, did not vote successfully
proportionmissed Failure Ticket Probability
Revoked Invalid ticket return number
Statement: The above for decred enthusiasts bit hot pot self-awareness, unofficial, do not guarantee security, please own a small amount of currency groping test, self-assessment of risk and then slowly. All of the above user names, passwords are examples, please set their own strong password, Wallet unlocked state POS mining has a hot wallet stolen risk, you can try to go to the official website POS Mine Pool Mining is more secure, please evaluate the risk carefully.