Add hushd script with preliminary chain params

This commit is contained in:
Jonathan "Duke" Leto
2019-03-07 17:51:15 -08:00
parent 38674d0147
commit 15a297c05a

26
src/hushd Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# Copyright (c) 2019 Hush developers
# set working directory to the location of this script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
# TESTING VALUES
NAME=HUSHT
PUBKEY=0392cd7cbdc188de147fa13b38d97ea2e4d612300100fcea14d200907b05f707e8
CCENABLE=42
# chain params
SUPPLY=6250000
# TODO: support KOMODOD env var to use custom binary
./komodod -ac_name=$NAME -ac_sapling=1 \
-ac_reward=0,1250000000,675000000 \
-ac_halving=129,340000,840000 \
-ac_end=128,340000,0 \
-ac_eras=3 -ac_blocktime=150 \
-ac_cc=2 -ac_ccenable=$CCENABLE \
-ac_founders=1 -ac_supply=$SUPPLY \
-ac_founders_reward=0,125000000,67500000 \
-ac_pubkey=$PUBKEY "$@"