From 5b4a162e5a04b21e8dd3a1ee121b393504e93547 Mon Sep 17 00:00:00 2001 From: onryo Date: Fri, 27 Jan 2023 18:18:16 +0100 Subject: [PATCH] adding how to shield and send funds --- README.md | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 877e10d..68b91ae 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ A guide to mining the RandomX coin DragonX, a HUSH Smart Chain. - [Peertube](https://videos.hush.is/w/p/gWt7V3xZZXFG5Dhjo1VkeF) - [Odysee](https://odysee.com/@hush:17?view=content) -

# Install HUSH @@ -20,8 +19,6 @@ Look at [this guide](https://git.hush.is/hush/hush3/src/branch/master/INSTALL.md ###### *`Note:` If running Windows head over to the [releases page](https://git.hush.is/hush/hush3/releases) and download the latest Windows version. I would recommend installing [Windows Terminal](https://github.com/microsoft/terminal) to make it easier to access and execute commands with windows powershell* ###### *`Note:` If running on a Virtual Machine make sure the VM network settings are set to `Bridged Connection`.* - -

# Linux - HUSH Smart Chain (HSC) Setup @@ -59,7 +56,6 @@ To make sure you are actually connected to the network and mining input the foll ``` - If it returns `"connection": 1` you are connected and mining. -

# Windows - HUSH Smart Chain (HSC) Setup @@ -96,12 +92,42 @@ To make sure you are actually connected to the network and mining input the foll - If it returns `"connection": 1` you are connected and mining.
-
+ +# Send newly mined DRGX + +Check if you have balance to spend: + +``` +./hush-cli -ac_name=DRAGONX getbalance +``` + +Create a new zaddr, then you can verify it with another command: + +``` +./hush-cli -ac_name=DRAGONX z_getnewaddress +./hush-cli -ac_name=DRAGONX z_listaddresses +``` + +SAVE YOUR PRIVATE KEY!!! + +``` +/hush-cli -ac_name=DRAGONX z_exportkey "zs1..." +``` + +Now transfer all mined coins to a private zaddr address we just created: + +``` +./hush-cli -ac_name=DRAGONX z_shieldcoinbase "*" "zs1..." +``` + +To send coins use the following call: (FROM address TO address) + +``` +./hush-cli -ac_name=DRAGONX z_sendmany "zs1..." '[{"address": "zs1...", "amount": 69.69}]' +``` # Useful RPC commands All RPC commands for Hush can be used the same way for any HSC. The total list: * [RPC commands](https://faq.hush.is/rpc/coinsupply.html) - -
\ No newline at end of file