Best instructions ever.
Just copy & paste.
From my experience if its a vm with not a lot ram or an old machine you should add a swap file (at least 4GB)
1. Setting dependencies:
sudo apt-get install -y libminiupnpc-dev autoconf automake build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev
2. Installation secp256k1
cd ~&&git clone http://www.github.com/bitcoin/secp256k1&&cd secp256k1&&git checkout a1d5ae1&&./autogen.sh&&./configure&&make&&sudo make install&&cd ..
3. Installing 8bit
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR
Most likely, there will be an error in the assembly.
Therefore, you will need to fix ~/8bit/src/rpcrawtransaction.cpp
search for this line
const CScriptID& hash = boost::get
It should work after changed to
const CScriptID& hash = boost::get
make -f makefile.unix&&strip 8bitd&&sudo cp 8bitd /usr/bin
If everything went well and without errors, then you will have a console version of the wallet.
If you need the GUI:
1. Setting dependencies:
sudo apt-get install -y qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev
2. Installing 8bit-qt
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR&&cd ..&&qmake&&make
On a clean install of Ubuntu 16.04, following these directions precisely I get the following error after successfully building 8bitd, while trying to run it:
$ 8bitd
8bitd: error while loading shared libraries: libsecp256k1.so.0: cannot open shared object file: No such file or directory
Here is a (persistent) fix:
1) edit $HOME/.bashrc to include the following line:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
(you can [and probably should] simply append it to the bottom of everything already there)
2) issue the following command in terminal to update bash:
. ~/.bashrc
That's it. 8bitd should now run.