Browse Source

Update 'README.md'

pull/11/head
onryo 3 years ago
parent
commit
d86b8a89d7
  1. 13
      README.md

13
README.md

@ -30,19 +30,19 @@ it is better to have more than 2 nodes, I have 2 free nodes available to run dur
From your NODE1 run:
```
./hush-smart-chain -ac_name=testSHT -ac_private=1 ac_supply=20999999 -ac_blocktime=260 -ac_halving=420000 -ac_reward=2400000000 -ac_supply=987318 -addnode=IP2 &
./hush-smart-chain -ac_name=testSHT -ac_private=1 -ac_blocktime=260 -ac_halving=420000 -ac_reward=2400000000 -ac_supply=987318 -addnode=IP2 &
```
From your NODE2 run:
```
./hush-smart-chain -ac_name=testSHT -ac_private=1 ac_supply=20999999 -ac_blocktime=260 -ac_halving=420000 -ac_reward=2400000000 -ac_supply=987318 -addnode=IP1 &
./hush-smart-chain -ac_name=testSHT -ac_private=1 -ac_blocktime=260 -ac_halving=420000 -ac_reward=2400000000 -ac_supply=987318 -addnode=IP1 &
```
`-ac_name=testSHT` - name
`-ac_private=1` - full z2z privacy feature, just like Hush or ARRR
`ac_supply=20999999` - total supply (?)
`ac_supply=987318` - pre-mined supply
`-ac_blocktime=260` + `-ac_halving=420000` + `-ac_reward=2400000000` makes testSHT with block time of 260 seconds and halving every 420000 blocks with initial reward of 24 testSHT.
@ -52,9 +52,9 @@ Example: magic.c89b00b16, the string `c89b00b16` will be different, but must be
# Before mining the pre-mined supply
All of the pre-mined coins are mined in the first block. Therefore, whichever machine executes the mining command will receive the entirety of the blockchain's pre-mined coin supply, as set in the ac_supply parameter. Upon mining the first block, these coins are available in the default wallet.dat file.
All of the pre-mined coins are mined in the first block. Therefore, whichever machine executes the mining command will receive the entirely of the blockchain's pre-mined coin supply, as set in the `ac_supply` parameter. Upon mining the first block, these coins are available in the default `wallet.dat` file.
To collect all the mining rewards from the node to a single address, execute the following commands before issuing the setgenerate command:
To collect all the mining rewards from the node to a single address, execute the following command:
```
# Get a new address
@ -71,7 +71,7 @@ pubkey=$(./hush-cli -ac_name=testSHT validateaddress $newaddress | jq -r '.pubke
```
./hush-cli -ac_name=testSHT setgenerate true $(nproc)
```
if you're using some VPS provider mining is prohibited so it is safe to run with (need to be changed)
mining is prohibited with any VPS providers in case, so if you're planning to use one it is safe to run with `-j 2`(?) option, will be updated...
# verify if mining is working
@ -95,6 +95,7 @@ Most useful:
- figure out how to properly publish the source code of the new chain created.
- change all tickers from HUSH to a HSC one.
- ac_? for the total supply.
- mining.
- wallets.
- specify the devReward wallet, so some portion of all mined coins can go to the devReward address.

Loading…
Cancel
Save