diff --git a/src/testdragonx-cli b/src/testdragonx-cli new file mode 100755 index 000000000..e1f94b2c7 --- /dev/null +++ b/src/testdragonx-cli @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# Copyright 2016-2022 The Hush Developers +# Copyright 2022 The DragonX Developers +# Released under the GPLv3 + +# set working directory to the location of this script +# readlink -f does not always exist +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd $DIR +DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )" +cd $DIR + +./hush-cli -ac_name=TESTDRAGONX $@ diff --git a/src/testdragonxd b/src/testdragonxd new file mode 100755 index 000000000..6a1c9e86f --- /dev/null +++ b/src/testdragonxd @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +# Copyright 2016-2022 The Hush Developers +# Copyright 2022 The DragonX Developers +# Released under the GPLv3 + +# set working directory to the location of this script +# readlink -f does not always exist +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd $DIR +DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )" +cd $DIR + +BLOCKTIME=18 +SUPPLY=0 + +# Remember Remember the 5th November for freedom of speech is not free!! +./hush-smart-chain -ac_name=TESTDRAGONX -ac_algo=randomx -ac_halving=3500000 -ac_reward=300000000 -ac_blocktime=$BLOCKTIME -ac_private=1 -ac_supply=$SUPPLY -debug=randomx $@ diff --git a/src/testequihash-cli b/src/testequihash-cli new file mode 100755 index 000000000..abe243979 --- /dev/null +++ b/src/testequihash-cli @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# Copyright 2016-2022 The Hush Developers +# Copyright 2022 The DragonX Developers +# Released under the GPLv3 + +# set working directory to the location of this script +# readlink -f does not always exist +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd $DIR +DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )" +cd $DIR + +./hush-cli -ac_name=TESTEQUIHASH $@ diff --git a/src/testequihashd b/src/testequihashd new file mode 100755 index 000000000..9571566a2 --- /dev/null +++ b/src/testequihashd @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Copyright 2016-2022 The Hush Developers +# Copyright 2022 The DragonX Developers +# Released under the GPLv3 + +# set working directory to the location of this script +# readlink -f does not always exist +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd $DIR +DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )" +cd $DIR + +BLOCKTIME=18 +SUPPLY=0 + +# same as TESTDRAGONX except equihash and different ac_name +# and debug=pow which is the equivalent of debug=randomx for equihash mining +./hush-smart-chain -ac_name=TESTEQUIHASH -ac_halving=3500000 -ac_reward=300000000 -ac_blocktime=$BLOCKTIME -ac_private=1 -ac_supply=$SUPPLY -debug=pow $@