A secure and anonymous cryptocurrency, built with a focus on privacy.
Branch: master
Clone or download
Latest commit 1aa03be Feb 16, 2019

README.md

image

Build Status Build status

Qwertycoin is a decentralized peer-to-peer protocol for safe payments worldwide.

How To Compile

Ubuntu 16.04+ and MacOS 10.10+

There is a bash installation script for Ubuntu 16.04+ and MacOS 10.10+ which can be used to checkout and build the project from source:

$ curl -sL "https://cdn.qwertycoin.org/cmd/multi_installer.sh" | bash

On Ubuntu you will be asked for sudo rights to install software. The binaries will be in ./src after compilation is complete.

This script can be used from inside the git repository to build the project from the checked out source, ./multi_installer.sh

See the script for more installation details and please consider extending it for your operating system and distribution!

If the script doesn't work for you: use ./easy-installer.sh or with:

Linux

If you are using Arch Linux, there is an AUR precompiled package, qwertycoin-bin, or a build from source version, qwertycoin-git.

Prerequisites
  • You will need the following packages: build-essential, cmake (3.10 or higher) and git;
  • Most of these should already be installed on your system. For example on Ubuntu by running:
sudo apt-get install build-essential cmake git
Building
  • After installing dependencies run simple script:
git clone https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake ..
cmake --build . -config Release
  • If all went well, it will complete successfully, and you will find all your binaries in the ./build/src directory.

Windows 10

Prerequisites
  • Install Visual Studio 2017 Community Edition;
  • When installing Visual Studio, it is required that you install Desktop development with C++ and the VC++ v140 toolchain when selecting features. The option to install the v140 toolchain can be found by expanding the "Desktop development with C++" node on the right. You will need this for the project to build correctly;
  • Make sure that bundled cmake version is 3.10 or higher.
Building
  • From the start menu, open "x64 Native Tools Command Prompt for vs2017";
  • And the run the following commands:
git clone https://github.com/qwertycoin-org/qwertycoin
cd qwertycoin
md build
cd build
cmake -G "Visual Studio 15 2017 Win64" ..
cmake --build . --config Release
  • If all went well, it will complete successfully, and you will find all your binaries in the .\build\src\Release directory;
  • Additionally, a .sln file will have been created in the build directory. If you wish to open the project in Visual Studio with this, you can.

Apple

Prerequisites
  • Install Xcode and Developer Tools;
  • Install cmake. See here if you are unable to call cmake from the terminal after installing;
  • Install git.
Building
  • After installing dependencies run simple script:
git clone https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake ..
cmake --build . --config Release
  • If all went well, it will complete successfully, and you will find all your binaries in the ./build/src directory.

Android (building on Linux)

Prerequisites
  • You will need the following packages: build-essential, cmake (3.10 or higher), git, unzip and wget;
  • Most of these should already be installed on your system. For example on Ubuntu by running:
sudo apt-get install build-essential cmake git unzip wget
  • Download and extract Android NDK:
mkdir -p "$HOME/.android"
wget -O "$HOME/.android/android-ndk-r18b-linux-x86_64.zip" "https://dl.google.com/android/repository/android-ndk-r18b-linux-x86_64.zip"
unzip -qq "$HOME/.android/android-ndk-r18b-linux-x86_64.zip" -d "$HOME/.android"
export ANDROID_NDK_r18b="$HOME/.android/android-ndk-r18b"
Building
  • After installing dependencies run simple script:
git clone https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake ..
cmake --build . --config Release
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/polly/android-ndk-r18b-api-21-x86-clang-libcxx.cmake -DBUILD_TESTS=OFF -DSTATIC=ON -DBUILD_64=OFF -DANDROID=true -DBUILD_TAG="android" ..
cmake --build . --config Release
  • If all went well, it will complete successfully, and you will find all your binaries in the ./build/src directory.

Advanced options (for all platforms)

  • Parallel build: run make -j<number of threads> instead of make;
  • Debug build: run make build-debug;
  • Test suite: run make test-release to run tests in addition to building. Running make test-debug will do the same to the debug version;
  • Building with Clang: it may be possible to use Clang instead of GCC, but this may not work everywhere. To build, run export CC=clang CXX=clang++ before running make.

Donate

QWC: QWC1K6XEhCC1WsZzT9RRVpc1MLXXdHVKt2BUGSrsmkkXAvqh52sVnNc1pYmoF2TEXsAvZnyPaZu8MW3S8EWHNfAh7X2xa63P7Y
BTC: 1DkocMNiqFkbjhCmG4sg9zYQbi4YuguFWw
ETH: 0xA660Fb28C06542258bd740973c17F2632dff2517
BCH: qz975ndvcechzywtz59xpkt2hhdzkzt3vvt8762yk9
XMR: 47gmN4GMQ17Veur5YEpru7eCQc5A65DaWUThZa9z9bP6jNMYXPKAyjDcAW4RzNYbRChEwnKu1H3qt9FPW9CnpwZgNscKawX
ETN: etnkJXJFqiH9FCt6Gq2HWHPeY92YFsmvKX7qaysvnV11M796Xmovo2nSu6EUCMnniqRqAhKX9AQp31GbG3M2DiVM3qRDSQ5Vwq

Thanks

Cryptonote Developers, Bytecoin Developers, Monero Developers, Karbo Project (aivve), Qwertycoin Community