Hi,
Please find here some quick notes I have written on compiling BitShares in a fresh image of Ubuntu.
cd ~
sudo apt-get update
sudo apt-get install git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev build-essential libbz2-dev
Boost cd ~
wget -O boost_1_54_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.54.0/boost_1_54_0.tar.gz/download
tar xzvf boost_1_54_0.tar.gz
cd boost_1_54_0/
# boost's bootsrap setup
./bootstrap.sh --prefix=/usr/local
# If we want MPI then we need to set the flag in the user-config.jam file
user_configFile=`find $PWD -name user-config.jam`
echo "using mpi ;" >> $user_configFile
# Find the maximum number of physical cores
n=`cat /proc/cpuinfo | grep "cpu cores" | uniq | awk '{print $NF}'`
# Install boost in parallel
sudo ./b2 --with=all -j $n install
# Reset the ldconfig, assumes you have /usr/local/lib setup already. check ROOT installation
# blog I wrote if not. Else you can add it to your LD_LIBRARY_PATH, running this anyway
# will not hurt.
sudo ldconfig
chmod +x install_boost.sh
./install_boost.sh
boost installation extracted from here:
https://dl.dropboxusercontent.com/u/88131281/install_boost.shcmake-2.8.12.1cd ~
wget http://www.cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
tar xvf cmake-2.8.12.1.tar.gz
cd cmake-2.8.12.1
cmake . && make
Clone the codecd ~
git clone https://github.com/InvictusInnovations/BitShares.git
cd BitShares
git clone https://github.com/InvictusInnovations/fc.git
Run cmake~/cmake-2.8.12.1/bin/cmake ~/BitShares
Finally compile itcd ~/BitShares
make
If everything is ok you should have your compiled versions here:
cd bts_wallet
./bts_server and ./bts_wallet
Genesis 28/2 Here is a link to the genesis.json posted by bytemaster
https://github.com/betaxx/BTSXBalance/blob/master/genesis.json?raw=trueInitialising Genesis by HackFisher:For testing, I modified the code using original genesis address and generate the testing genesis chain, you can download it and unzip in the folder of bts_server if you need.
https://dl.dropboxusercontent.com/u/5037011/chain.zip
after you start and login bts wallet, you can import genesis key:
Code: [Select]
importkey d987064e501555cf3d2e4e68f093a94144bc876a85c520971b747af32fa6a4c3 rescan
you get 100 BTS to play.
Check your BTSX balances without using your wallet.dat This a shameless plug for a tool I created
.. check it out here if you want to confirm your BTSx balance.
https://bitsharestalk.org/index.php?topic=3371.0