You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.1 KiB

4 years ago
# Hush Smart Chains - The z2z Platform
Hush Smart Chains are a way to create Zcash Protocol Proof-of-Work chains, with a focus on fully-shielded (z2z) chains for
4 years ago
maximum privacy.
4 years ago
## Creating a Hush Smart Chain
You will need the [Official Hush full node Git repo](https://git.hush.is/hush/hush3) :
4 years ago
```
git clone https://git.hush.is/hush/hush3.git
4 years ago
cd hush3
4 years ago
./build.sh -j4 # uses 4 cores
4 years ago
cd src
```
4 years ago
As an example, we will make a replica of the cryptocoin Pirate (ARRR) in a single command:
```
4 years ago
hush-smart-chain -ac_name=ARRRUKIDDING \
-ac_supply=0 -ac_halving=388885 -ac_private=1 \
-ac_reward=25600000000 -addnode=45.76.84.111
4 years ago
```
This replica has exactly the same mining schedule as PIRATE as well as block reward. One notable exception
is that all Hush Smart Chains are Pure Sapling, which means no 1.6GB download would be required to sync
the `ARRRUKIDDING` chain.
4 years ago
One may note that the halving interval looks different than the 77777 that Pirate normally uses. This was
the halving interval of the original Pirate chain, which the author mined on, but would have lead to all
mining rewards being emitted in about 5 years. Komodo internally multiplies the interval by 5 to give a
~25 year emission and that is where 3888885 comes from.
4 years ago
4 years ago
## Private vs Public Hush Smart Chains
4 years ago
4 years ago
Private Hush Smart Chains are perfect for a group of people who want to use encrypted memos but do not want their
data on the public Hush mainnet. It allows groups to completely isolate their data, yet still use HUSH technology.
Public Hush Smart Chains would be good for public Hushlists, i.e. a publicly known mailing list that you subscribe to
and receive messages. They could also be used to launch new Zcash Protocol coins upon our z2z platform.
## Adding DPoW
All Hush Smart Chains support Delayed-Proof-of-Work innately, though the service must be run and data injected into the network.
4 years ago
DPoW is not needed for private Hush Smart Chain. Public Smart Chains that will have financial value need protection
4 years ago
from double spend attacks, so DPoW is highly encouraged.
4 years ago
## Getting Help
We are happy to help you build upon the Hush platform, please join our [Telegram](https://www.hush.is/telegram/)