Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The selected root page could not be found.

Languages
  • Spanish/Español
  • Chinese/中文
  • 在本地计算机上安装Sphere钱包
  • 把ZEN发送到Sphere中的t_地址 - 这将用作质押地址
  • 将少量ZEN发送到节点上新生成的t_address
  • 使用z_sendmany将小余额ZEN发送到节点上的两个新生成的z_address

    注意:发送到z_addresses的余额用于挑战,每次挑战消耗0.0002 ZEN,因此下面建议的0.05 ZEN余额足以应对250次挑战。 使用多个z_addresses的目的是降低节点跟踪器生成的余额异常的可能性。 它确保节点始终具余额。

如果用Arizen做节点请参考: Part 7a - Stake and Challenge Balance (using Arizen)


DescriptionCommand

Install Sphere by Horizen - on your local machine NOT your node

1

Install Sphere by Horizen on your local machine, following this guide.

2

Transfer a minimum amount of 42.05 ZEN (Secure Node) or 500.05 ZEN (Super Node) to a t_address in your Sphere by Horizen wallet. This can be transferred from another external wallet, exchange wallet, or other source.

  • This t_address will be used as the stake t_address so make a note of it, ready to use in part 8 of the guide
  • 42.05 ZEN (Secure Node) or 500.05 ZEN (Super Node) is the suggested balance. The intention is to retain a minimum of 42 ZEN (Secure Node) or 500 ZEN (Super Node) in a Sphere wallet t_address, which will be used for the stake.
  • The additional small balance (0.05 ZEN should be sufficient) is for challenges on the node (minus transaction fees)

Generate a new t_address on the node

3

Generate a new t_addresses on the node and output the second t_address listed. After this step your node should have two t_addresses (one is always present by default after running zend for the first time)

  • The first is used to identify your node
  • The second will be used to transit a small balance of ZEN from Sphere to a z_addresses on the node - this is the one output in the terminal
  • Copy the address outputted from the command

Only one t_address will be displayed as the output of this command, this is normal

DO NOT RUN MORE THAN ONCE! There is zero reason to run this command again going forward for the purposes of this guide

zen-cli getnewaddress > /dev/null && zen-cli listaddresses | jq -r '.[1]'

On local machine

4

Open your wallet containing the 42 ZEN (Secure Node) or 500 ZEN (Super Node)

  • Select the t_address with the balance of 42.05 ZEN (Secure Node) or 500.05 ZEN (Super Node)
  • Go to the "Send" tab and paste in the address copied from step 3 into the "Send to" field in Sphere
  • Set the "Amount" to 0.0499
  • Click "Confirm" to confirm the details on screen and send the 0.0499 ZEN to the t_address on the node copied from step 3

Example of a funding a Secure/Super Node's challenge balance.


On the node

5

Run the following command to 'watch' the node balance

When the transparent balance is shown exit the command with CTRL + c

  • This command will automatically refresh every 30 seconds until it is manually terminated


NOTE: Until the node has synchronized the entire blockchain, the balance will not be reflected. This can take a significant amount of time (many hours) therefore do not be alarmed if the balance isn't shown immediately after the transaction is submitted from Sphere and mined in a block.

watch -n 30 zen-cli z_gettotalbalance
Example Output

zenops@node01$ watch -n 30 zen-cli z_gettotalbalance
{
"transparent": "0.0499",
"private": "0.00",
"total": "0.0499"
}

6

When the blockchain has fully synchronized and the balance is displayed, copy and paste the command in step 7 below, this will

  • Generate two z_addresses on the node
  • Split the balance on the node's t_address, sending half to each z_address
  • A transaction fee of 0.0001 will be taken from the balance of 0.0499, leaving a total balance after this operation of 0.0498 ZEN split across the two z_addresses

NOTE: We split the balance used for challenges so the tracker will always see a balance of spendable ZEN between challenges, this will prevent downtime from "bal" exceptions by the tracking server

7
zen-cli z_sendmany $(zen-cli listaddresses | jq -r '.[1]') '[{"address": "'$(zen-cli z_getnewaddress)'", "amount": 0.0249},{"address": "'$(zen-cli z_getnewaddress)'", "amount": 0.0249}]'
8Run the following command to 'watch' the node balance, when the private balance of 0.0498 is shown exit the command with CTRL + c
watch -n 30 zen-cli z_gettotalbalance
Example Output

zenops@node01$ watch zen-cli z_gettotalbalance
{
"transparent": "0.00",
"private": "0.0498",
"total": "0.0498"
}

9

While waiting for your transactions to confirm, check out Rolf Versluis AKA BlockOps' video about challenges

**Challenge balances, both spent and unspent, are never burnt (removed from supply) unless the node operator intentionally or unintentionally loses access to the keys for the challenge addresses (deletes or replaces wallet.dat on the node).**

Part 7 of 11 - Stake and Challenge Balance

Error rendering macro 'excerpt-include' : No link could be created for 'Social Links'.

  • No labels