Browse Source

adding how to shield and send funds

master
onryo 1 year ago
parent
commit
5b4a162e5a
  1. 40
      README.md

40
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)
</br>
</br>
# Install HUSH
@ -20,8 +19,6 @@ Look at [this guide](https://git.hush.is/hush/hush3/src/branch/master/INSTALL.md
###### *`Note:` If running <u>Windows</u> 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`.*
</br>
</br>
# 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.
</br>
</br>
# 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.
</br>
</br>
# 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)
</br>
Loading…
Cancel
Save