Created
February 11, 2019 15:51
-
-
Save tonymorony/ef78e1bda31713d13fa19745eeb97622 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dependencies for Komodo | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate vim software-properties-common curl libcurl4-gnutls-dev cmake clang libsodium-dev -y | |
# Daemon | |
mkdir ~/komodo | |
cd ~/komodo | |
mkdir src | |
cd src | |
# in zip komodod komodo-cli oracleed | |
wget http://159.69.45.70/latest_FSM.zip | |
unzip latest_FSM.zip | |
rm latest_FSM.zip | |
# KMD blockchain bootstrap | |
mkdir ~/.komodo | |
cd ~/.komodo | |
wget http://159.69.45.70/komodo.conf | |
wget https://bootstrap.dexstats.info/KMD-bootstrap.tar.gz | |
tar -xvf KMD-bootstrap.tar.gz | |
rm KMD-bootstrap.tar.gz | |
# Fetching zcash params | |
wget http://159.69.45.70/fetch-params.sh | |
chmod u+x fetch-params.sh | |
./fetch-params.sh | |
# Dependencies for python scripts / TUI | |
sudo apt-get install python3.6 python3-pip libgnutls28-dev -y | |
pip3 install setuptools wheel slick-bitcoinrpc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment