Install the Cloakcoin Client

From Cloakcoin Wiki
Jump to: navigation, search
This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎Ελληνικά • ‎English • ‎español • ‎français • ‎magyar • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎русский • ‎中文(中国大陆)‎

Cloakcoin Windows setup.

This guide covers the installation of CloakCoin on all the diferent platforms.

Installation of the Windows Edition

  1. If you are going to install the Cloakcoin wallet for the first time jump to point 6.
  2. If you have installed a previous version, please stop the running wallet.
  3. Backup your wallet.dat
  4. If your previous version is CloakCoin 1.x, please make a deinstallation!!!
  5. If your previous version is CloakCoin 2.x, you can make an update and dont need to make a deinstallation.
  6. Donwload the latest client from GitHub
  7. Unzip the download.
  8. Now start the downloaded .exe file and run it as an administrator.
  9. Follow the instructions from the installer.
  10. Say yes to the 'auto blockchain downloader' this will be the fastest way!
  11. Start your new Cloakcoin wallet and let it find other nodes and sync the blockchain

Installation of the Linux Edition

Installation of the Linux QT GUI edition

  1. If you have installed a previous version, please stop the running wallet.
  2. # Backup your wallet.dat
  3. Remove the old installation
  4. Open a terminal as user
  5. cd
    mv .CloakCoin .CloakCoin_backup
  6. Unzip the download.
  7. Open a terminal with root rights
  8. cd /opt
    mkdir -vp cloakcoin/
    cd !$
    mv /path/to/unzipped/cloakcoin* .
    chmod +x cloakcoin*
    ln -s /opt/cloakcoin/ /usr/local/bin/cloakcoin
  9. On some debian/ubuntu distributions you need to installing missing libs as with root privileges:
  10. apt-get update
    apt-get install libcurl3 libcurl3-gnutls
  11. run cloakcoin with your user account
  12. Follow the instructions from the installer.
  13. Say yes to the 'auto blockchain downloader' this will be the faster way!
  14. Let your wallet find other nodes and sync the blockchain
  15. Installation of the Linux Daemon edition

    1. Create config directory in your Home folder
    2. mkdir /home/USERNAME/.CloakCoin
    3. Switch to the directory and download newest Blockchain for faster sync
    4. cd /home/USERNAME/.CloakCoin
    5. Create .CloakCoin.conf file with rpcusername and password
    6. nano /home/USERNAME/.CloakCoin/CloakCoin.conf
    7. Save this file and exit
    8. Create a folder for your CloakCoin Daemon and download this new Wallet
    9. mkdir /home/USERNAME/cloakcoin
      cd /home/USERNAME/cloakcoin
      rm -r
    10. Start Daemon
    11. Installation of the Mac iOS Edition

      1. Donwload the latest Mac client from GitHub
      2. Extract zip file and start cloakCoin-qt.xxxx.dmg
      3. Drag & Drop the cloakCoin-qt App in the Application Folder
      4. Start cloakCoin-qt App in Application Folder -> you will get a warning that the app is from a unidentified developer
      5. Choose Apple menu > System Preferences, then click Security & Privacy. Read more.
      6. You need to unblock the app by clicking the 'Open Anyway' in Security & Privacy
      7. the cloakCoin-qt app will continue with the instalation.
      8. You will get a warning: 'Cant find local blockchain…..Would you like to auto-download it?'
      9. Click 'Yes'
      10. when the blockchain finnishes downloading cloakCoin-qt app will be running and in full sync!
      11. Always remember -> to Encrypt your wallet via password Keyphrase! + backup your wallet.dat on a USB Stick or External Harddrive. Just to be sure!

      If you need to reinstall the blockchain file with the auto-downloader:

      1. Close the running wallet.
      2. Go to ~/Library/Application Support/CloakCoin/ and delete folder txleveldb.
      3. Restart and it will ask you to download again.

      Installation of the Raspbery Pi Edition

      Download the RasPi image from Cloakcoin servers here.

      RaspBerry Pi2 32-bit OS With cloakcoind and a Secure (https) Web RPC Interface

      Latest Raspbian Jessie Lite, updated and upgraded as of 1 June 2017

      Apache Web Server with php support, Server-Side Certificate, and SSL enabled


      Burn image to 8Gb uSD (Class 10 recommended)

      Boot and ssh into host, then:

      Change default pi password: run passwd and enter raspbery then a new password (twice).

      sudo raspi-config (and set locale, Time Zone, Hostname, in Adv Menu Expand Filesystem to match uSD) then reboot.

      Note: cloakcoind will autostart at boot so run ./cloakcoind stop for the next steps.

      Modify the cloakcoind and WebUI config files:

      sudo nano /var/www/html/cloak/config.php (change user and passwd to your own choices).

      If host 'localhost' doesn't work change to raspi-IP if cloakcoind on another machine/different IP. Don't change port.

      nano .CloakCoin/CloakCoin.conf (change user and passwd to match config.php)

      nano cloakload (and change <password> to match your wallet password - remove brackets <>)

      Get the latest database/blockchain files (takes about an hour).

      cd .CloakCoin



      cd ..

      Run cloakcoind manually (may take a while to update database and sync wallet).

      ./cloakcoind -upnp -daemon

      Note: make sure uPnP is active on your router, otherwise you need to set port fowrarding port 29662 to your raspi-IP.

      You can check progress with cat .CloakCoin/debug.log

      While loading and syncing the database and wallet files, running top will show cloakcoind near/at the top.

      Once complete the cloakcoind RPC server will be running, running top will show start-cloakcoin near top.

      You should be able to run ./cloakcoind getinfo if server is ready or you will get Unable to connect...

      Now follow the Linux (headless) or RasPi Install Instructions to create address in <youraccountname> and set a password to encrypt your wallet.

      You should be able to see info from your browser at https://raspi-IP/cloak.

      Apache is configured with a self-generated server-side cert and has SSL enabled so you can use https.

      You browser may complain the first time you go to the WebUI about invalid cert - just set an exception.

      If you set port forwarding for 443 to RasPi-IP and know your router's public IP, you can access the WebUI remotely using https://yourpubIP/cloak.

      Once complete stop the daemon and test autostart with a reboot.

      cloakcoind should start, then when RPC server is ready cloakload will unlock wallet for staking.

      Note: The Web UI assumes that you have encrypted your wallet and have it unlocked for staking, otherwise if you click on the Send Button it will fail with an error.

      Direct RPC calls are available at bottom of WebUI main page - use at your own risk if unfamiliar with RPC.

      You can also list an address, copy, and paste into the QR Code Field and Generate a QR Code.