Compile the Cloakcoin Client

From Cloakcoin Wiki
Jump to: navigation, search

This guide covers the compilation of CloakCoin on Linux, it as been tested by Cloak team members on Ubuntu 16.04 and Xubuntu 16.04 LTS, diferent Linux distributions may need additional tweeking. QT instructions were provided by Brannon Dorsey.





Build instructions for Ubuntu Linux QT GUI edition

  1. Install git if you don't already have it
  2. sudo apt install git
  3. Clone the CloakCoin repository from GitHub
  4. git clone https://github.com/CloakProject/CloakCoin
    cd CloakCoin
  5. Install the dependencies
  6. sudo apt install -y \ build-essential \ qt5-default \ qt5-qmake \ libleveldb-dev \ libboost1.58-dev \ libcurl4-openssl-dev \ openssl \ libssl-dev \ libdb++-dev \ libevent-dev \ libboost-dev \ libboost-system-dev \ libboost-filesystem-dev \ libboost-program-options-dev \ libboost-thread-dev \ libminiupnpc-dev
  7. Build from source
  8. qmake && make
  9. If all went well you cloakcoin-qt should now have been created in the root of the repository folder
  10. The first time you launch the wallet, it will have to sync with the network. This takes forever if you don't already have a lot of the blockchain downloaded. You can download it before hand like this:
  11. mkdir ~/.CloakCoin && cd ~/.CloakCoin
  12. Download ~1.1 GB of blockchain data
  13. wget https://backend.cloakcoin.com/wallet/v2/cloak_ldb.zip
    unzip cloak_ldb.zip
    rm cloak_ldb.zip
  14. Now you are ready to launch the wallet
  15. ./cloakcoin-qt
  16. You can optionally copy cloakcoin-qt to a directory in your $PATH so that you can open it from anywhere like
  17. sudo cp ./cloakcoin-qt /usr/local/bin

    Build instructions for Linux headless edition

    1. Install git if you don't already have it
    2. sudo apt install git
    3. Clone the CloakCoin repository from GitHub
    4. git clone https://github.com/CloakProject/CloakCoin
      cd CloakCoin
      make -f makefile.unix