Vote & Staking
As an X-Cash holder, you can stake your delegate and vote for a preferred delegate. Follow the guide below to learn more about voting & staking.
Last updated
As an X-Cash holder, you can stake your delegate and vote for a preferred delegate. Follow the guide below to learn more about voting & staking.
Last updated
Currently you can vote from the CLI wallet, android wallet, and GUI wallet. X-Bank does not have the ability to vote yet.
All delegates are listed on the . Take time to get to learn more about them, check their reliability statistics, and their setup. You will find 3 types of delegates:
Shared Delegates: The shared delegates are public delegates for whom you can vote. They will redistribute your share of the rewards minus their fees. As a voter, you should favor shared delegates.
Solo Delegates: Solo delegates are elected by themselves and are keeping the reward for them. You can vote for solo delegates, but don't expect to receive a share of the block reward.
Private group: Private delegates group are delegates that will only redistribute shares of the block reward to a select group of their voters. They are usually decided with the delegate in private, so you shouldn't vote for them if you haven't communicated with the delegate first.
The 's information is filled by the delegates. There are currently no checks to the veracity of the information provided. It is your duty to make sure that a delegate is trustworthy, that he will redistribute the reward and that the fees displayed are correct.
You can calculate your expected ROI depending on several factor to help you with your vote.
A simple ROI-Calculator is available here ; there you can see how much rewards you can possibly earn by staking XCASH.
Community member and delegate UrsaMajor is providing a comprehensive list of delegates to help you understand and calculate what reward you can expect by voting with your XCASH.
Download locally this (updated every few days, but you can manually update it yourself), and input your desired staking amount to see what reward you can expect depending on the delegate you are voting for, their current stake and fees.
You can view the staked and unstaked balance anytime by using the balance
command
By voting for shared delegates, or within a private group after making an agreement with the delegate, you will receive a share of the block reward, which is a form of staking of your coins.
You will need to synchronize your wallet to a node, or download your own blockchain locally. To synchronize, you have two options:
Running the daemon and synchronizing the full blockchain (slow but most secure)
Using a remote node to synchronize (quick)
To synchronize the blockchain locally, run the daemon xcashd
executable with administrator rights. This will download and synchronize the blockchain to your computer (blockchain location by default : C:\ProgramData\X-CASH
).
The daemon will connect to an X-Cash node and download the blockchain to your computer.
Once the blockchain is completely synchronized, leave the X-Cash daemon opened and go to the next step and restore your wallet.
To synchronize the wallet using a remote node, you can connect to a trusted node to synchronize your wallet without downloading the blockchain locally. To do that, you will need to open the wallet using the command line interface and adding the parameter --daemon-address
.
First, launch a terminal (mac/linux) or a command prompt with administrator rights (windows) in the folder where you have downloaded the wallet binaries. To do so, find the path to your X-Cash binaries and change your directory to this location.
Once your terminal is windows is located in the wallet binaries, you can run the CLI wallet with the following parameter:
Example:
You will be able to open a wallet file if you have one and let it synchronize the last block. If you don't have a wallet file, or wish to restore a wallet, follow the instructions below. If your wallet is synchronized, you can go to the prepare your vote section.
If you don't have the wallet files or want to restore a wallet, you can use the --restore-deterministic-wallet
parameter and provide your mnemonic seed.
First, launch a terminal (mac/linux) or a command prompt with administrator rights (windows) in the folder where you have downloaded the wallet binaries. To do so, find the path to your X-Cash binaries and change your directory to this location.
Once your terminal is windows is located in the wallet binaries, you can run the CLI wallet with the following parameter:
You will be then prompted to give your wallet mnemonic seed and a new password. Once entered, your wallet will synchronize blocks with the remote node. It could take a while as a newly created wallet needs to scan all the blocks until the last one.
Once done, your wallet is ready and you can start to prepare your vote.
To vote, you will need to have at least 2,000,000 (2 Millions) XCASH unlocked in your wallet. As you can cast only one vote from one given wallet address, you will need to create and top up another wallet if you want to cast another vote.
When you cast your vote, your wallet will create a reserve proof, which is a cryptographic proof of the current amount stored in your wallet. If you spend any amount from your wallet, the reserve proof will be broken and your vote will become invalid.
Before casting your vote, you will need to concatenate the unspents of your wallet, otherwise your vote could be invalid. To do that, you just need to use the function sweep_all
to your wallet address.
Make sure to correctly input your wallet address (the one starting with XCA...) after the sweep_all function. Putting an invalid XCASH address or any other address that isn't your own will result in the permanent loss of all your wallet funds.
This will take all your unspents, concatenate them into one unspent and send it back to you.
Once your wallet is prepared with the amount you wish to vote with, you can cast your vote.
To vote, it's quite easy. Use the vote
command:
The wallet will create a reserve proof with the staked amount you provided of the wallet (or the full balance if you set it to all and assign it to the designated delegate. Once your vote has been casted, you will have to wait with your wallet running until the top of hour before getting a success message.
You will get a success message when your vote ****has been taken into account.
You will need to vote again if your wallet balance grows. To quickly vote for the same delegate you already have a vote for, run the following command
revote <amount>
Please be aware that the Android wallet is still in Beta so, be careful using it and save always in a secure place a backup of your public and private view/spend keys and/or the mnemonic seed. If this info is lost, there will be no way to restore it if necessary!
In case you have already generated a wallet, voting from the Android X-Cash Wallet APP is a very simple process.
Tap to resume and type your wallet password:
Wait for your wallet to synchronize with the network.
Once synced, tap the DPOPS button in the upper right corner.
Scroll down the list to find your desired delegate and tap it’s name to select it, or type it’s name in the “Delegate Name” textbox near the “Vote” button.
With the desired delegate’s name in the text box, tap the Vote button.
In the next window, you will have two choices:
a. If you are in the 3rd minute of the hour, you can tap Quick Vote and the vote will be placed right away
b. If you are out of the 3rd minute, you can tap Auto Waiting and the app will place the vote after the needed waiting time (you need to maintain the wallet opened till you will receive the confirmation). Please note that in my version, it says that 35 mins. waiting time are needed to place the order (which means that the app will try to place the vote on the 2nd minute of the hour and will throw an error showing “invalid vote time”. A minor change will be done on the next version to reflect the last change on the voting system, and apply the vote only on the 3rd minute instead of the 2nd and the 3rd minute which was the previous manner.
At the top of the next hour, your vote will be placed ! You will receive your share of the block reward on this wallet.
To participate in the network, you will have to vote with your XCASH to elect a delegate that you see as trustworthy and you want to help to get a forging position. The DPOPS consensus has been designed so that the XCASH you use to vote stays in your wallet, hence in your control (see ).
Download the 2.0.0 version of the X-Cash binaries, on our or on the .
You can either put the <delegates_public_address>
which is a standard XCASH public address, or the <delegate_name>
. This information is available on the .
Download the wallet on your compatible android phone using the following link :