Guest User

Untitled

a guest
Jun 19th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. You must first "shield coins" (send from a transparent Raddr to a shielded zaddr) to be able to use them in staking, when they first unlock.
  2. This is part of the Zcash protocol itself. The commands below assume you are in the Verus source code directory
  3.  
  4. cd src/
  5. ./fiat/verus z_shieldcoinbase
  6.  
  7. You can either use an existing zaddr or use a new zaddr. To make a new zaddr:
  8.  
  9. ./fiat/verus z_getnewaddress
  10.  
  11. Use the address the above command outputs in the z_shieldcoinbase command
  12.  
  13. To shield *all* coinbase in your wallet, you can use "*" (quotes are important) and zaddr that is getting the funds:
  14.  
  15. ./fiat/verus z_shieldcoinbase "*" zcdZ7Ja5d6Nse9wbaQoMVRcJW2pJScWwQ9Kv2ohX7UPakohLpK3BwTi1ksxiEXXj8wxtuK4rq7MDeUsNFxtrFjcApwyoXXX
  16.  
  17. To just shield a single address, specify that as the first argument:
  18.  
  19. ./fiat/verus z_shieldcoinbase RUWC2P9f39a4x4p4tDeN5B6VbhRiNPSbzz zcdZ7Ja5d6Nse9wbaQoMVRcJW2pJScWwQ9Kv2ohX7UPakohLpK3BwTi1ksxiEXXj8wxtuK4rq7MDeUsNFxtrFjcApwyoXXX
  20.  
  21. Once the funds have moved to the zaddr and are confirmed, you can freely send them to any taddr, and they will be eligble for staking.
  22.  
  23. To send from a certain zaddr to a transparent address, use z_sendmany. The following command sends 10 Verus to a given transparent address.
  24.  
  25. TADDR=Ryouraddresss ./fiat/verus z_sendmany zcZpfuzzJqmNJ3fUJekvbnyuxuJe9eAURAHrMCvN2Nr7VuWjakb1LEw6j2etPcCnr45BRot7MaMbipuS5da162BfuUkFGxx "[{\"address\":\"$TADDR\",\"amount\":10}]"
Add Comment
Please, Sign In to add comment