- node v8+
- libsodium
- This is meant for solo mining
- There is no share system; Every "share" is the block solution
- No payments sent out
Some initial setup
# The following packages are needed to build both Komodo and this stratum:
sudo apt-get update
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-openssl-dev bsdmainutils automake curl libboost-dev libboost-system-dev libsodium-dev -y
Now, let's build Komodo
git clone https://github.com/jl777/komodo -b dev
cd komodo
zcutil/fetch-params.sh
zcutil/build.sh -j8
strip src/komodod
strip src/komodo-cli
Now, let's run an asset to mine (MGNX in this case)
cd ~/komodo/src
./komodod -ac_name=MGNX -ac_supply=12000000 -ac_staked=90 -ac_reward=2000000000 -ac_halving=525960 -ac_cc=2 -ac_end=2629800 -addnode=45.32.236.224 -gen -genproclimit=1 &
To check on our Assetchain status, we use something like:
# You always need to add ac_name to the cli or it will poll komodod for KMD
cd ~/komodo/src
./komodo-cli -ac_name=MGNX getwalletinfo
We need npm and mvn installed
cd ~
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
nvm install 8
Now, let's build our stratum and run it
git clone https://github.com/TheComputerGenie/Knomp-solo
cd Knomp-solo
nvm use 8
npm install
npm start
https://cryptii.com/integer-encoder
Text -> Decode Integer -> 32-bit signed integer -> Little-Endian -> Bytes -> Hexadecimal
Released under the GNU General Public License v2 http://www.gnu.org/licenses/gpl-2.0.html
Forked from aayanl/equihash-solomining which is licensed under GNU GPL v2