Created
November 18, 2017 04:54
-
-
Save kh4n-ro/c97a237b12f467c790daab5b9f09ebfa to your computer and use it in GitHub Desktop.
8bit Coin Installation script for Ubuntu 16.04.01 LTS
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 | |
apt update && apt upgrade -y | |
apt install git nano build-essential g++ protobuf-compiler libboost-all-dev autotools-dev automake \ | |
libcurl4-openssl-dev libboost-all-dev libssl-dev libdb++-dev make autoconf automake libtool \ | |
git apt-utils libprotobuf-dev pkg-config libcurl3-dev libudev-dev libqrencode-dev bsdmainutils \ | |
pkg-config libssl-dev libgmp3-dev libevent-dev jp2a pv libminiupnpc-dev miniupnpc -y | |
cd ~/ | |
git clone https://github.com/bitcoin-core/secp256k1 | |
cd secp256k1/ | |
./autogen.sh | |
./configure | |
make | |
make install | |
export LD_LIBRARY_PATH=/usr/local/lib | |
cp /usr/local/lib/libsecp256k1.* /usr/lib | |
cd ~/ | |
git clone https://github.com/kh4n-ro/8bit | |
cd ~/8bit/src/ | |
cp crypto obj/crypto -rR | |
make -f makefile.unix | |
strip 8bitd | |
mv 8bitd /usr/bin/ | |
cd ~/ | |
8bitd --help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment