Skip to content

pyrex-coin/Pyrex-gui

 
 

Repository files navigation

PYREX GUI

Copyright (c) 2014-2018, The Monero Project Copyright (c) 2018, The PYREXCOIN Developers.

Introduction

PYREXCOIN is a private, secure, untraceable, decentralised digital currency. You are your bank, you control your funds, and nobody can trace your transfers unless you allow them to do so.

Privacy: PYREXCOIN uses a cryptographically sound system to allow you to send and receive funds without your transactions being easily revealed on the blockchain (the ledger of transactions that everyone has). This ensures that your purchases, receipts, and all transfers remain absolutely private by default.

Security: Using the power of a distributed peer-to-peer consensus network, every transaction on the network is cryptographically secured. Individual wallets have a 25 word mnemonic seed that is only displayed once, and can be written down to backup the wallet. Wallet files are encrypted with a passphrase to ensure they are useless if stolen.

Untraceability: By taking advantage of ring signatures, a special property of a certain type of cryptography, Pyrexcoin is able to ensure that transactions are not only untraceable, but have an optional measure of ambiguity that ensures that transactions cannot easily be tied back to an individual user or computer.

License

See LICENSE.

Compiling the PYREXCOIN GUI from source

On Linux:

(Tested on Ubuntu 17.10 x64, Ubuntu 18.04 x64 and Gentoo x64)

  1. Install Pyrexcoin dependencies
  • For Debian distributions (Debian, Ubuntu, Mint, Tails...)

    sudo apt install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl-dev libzmq3-dev libsodium-dev libhidapi-dev

  • For Gentoo

    sudo emerge app-arch/xz-utils app-doc/doxygen dev-cpp/gtest dev-libs/boost dev-libs/expat dev-libs/openssl dev-util/cmake media-gfx/graphviz net-dns/unbound net-libs/ldns net-libs/miniupnpc net-libs/zeromq sys-libs/libunwind dev-libs/libsodium dev-libs/hidapi

  1. Install Qt:

Note: Qt 5.7 is the minimum version required to build the GUI. This makes some distributions (mostly based on debian, like Ubuntu 16.x or Linux Mint 18.x) obsolete. You can still build the GUI if you install an official Qt release, but this is not officially supported.

  • For Ubuntu 17.10+

    sudo apt install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-dialogs qml-module-qtquick-xmllistmodel qml-module-qt-labs-settings qml-module-qt-labs-folderlistmodel qttools5-dev-tools qml-module-qtquick-templates2

  • For Gentoo

    sudo emerge dev-qt/qtcore:5 dev-qt/qtdeclarative:5 dev-qt/qtquickcontrols:5 dev-qt/qtquickcontrols2:5 dev-qt/qtgraphicaleffects:5

  • Optional : To build the flag WITH_SCANNER

    • For Ubuntu

      sudo apt install qtmultimedia5-dev qml-module-qtmultimedia libzbar-dev

    • For Gentoo

      The qml USE flag must be enabled.

      emerge dev-qt/qtmultimedia:5 media-gfx/zbar

  1. Clone repository

    git clone https://github.com/pyrex-coin/pyrex-gui.git

  2. Build

    cd pyrex-gui
    QT_SELECT=5 ./build.sh
    

The executable can be found in the build/release/bin folder.

On OS X:

  1. Install Xcode from AppStore

  2. Install homebrew

  3. Install Pyrex dependencies:

brew install boost --c++11

brew install openssl - to install openssl headers

brew install pkgconfig

brew install cmake

brew install zeromq

Note: If cmake can not find zmq.hpp file on OS X, installing zmq.hpp from https://github.com/zeromq/cppzmq to /usr/local/include should fix that error.

  1. Install Qt:

brew install qt5 (or download QT 5.8+ from qt.io)

If you have an older version of Qt installed via homebrew, you can force it to use 5.x like so:

brew link --force --overwrite qt5

  1. Add the Qt bin directory to your path

    Example: export PATH=$PATH:$HOME/Qt/5.8/clang_64/bin

    This is the directory where Qt 5.x is installed on your system

  2. Grab an up-to-date copy of the pyrex-gui repository

git clone https://github.com/pyrex-coin/Pyrex-gui.git

  1. Go into the repository

cd pyrex-gui

  1. Start the build

./build.sh

The executable can be found in the build/release/bin folder.

Note: Workaround for "ERROR: Xcode not set up properly"

Edit $HOME/Qt/5.8/clang_64/mkspecs/features/mac/default_pre.prf

replace isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))

with isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null")))

More info: http://stackoverflow.com/a/35098040/1683164

On Windows:

The Pyrexcoin GUI on Windows is 64 bits only; 32-bit Windows GUI builds are not officially supported anymore.

  1. Install MSYS2, follow the instructions on that page on how to update system and packages to the latest versions

  2. Open an 64-bit MSYS2 shell: Use the MSYS2 MinGW 64-bit shortcut, or use the msys2_shell.cmd batch file with a -mingw64 parameter

  3. Install MSYS2 packages for Pyrexcoin dependencies; the needed 64-bit packages have x86_64 in their names

    pacman -S mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi
    

    Note that that there is no more need to compile Boost from source; like everything else, you can install it now with a MSYS2 package.

  4. Install Qt5

    pacman -S mingw-w64-x86_64-qt5
    

    There is no more need to download some special installer from the Qt website, the standard MSYS2 package for Qt will do in almost all circumstances.

    Note: There is a known issue that GUI won't lauch properly when building tag v0.13.0.3 with Qt 5.11.2.

    If your encounter issue with that, please remove current Qt by: pacman -R mingw-w64-x86_64-qt5

    And install 5.11.1 instead by: pacman -U http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt5-5.11.1-3-any.pkg.tar.xz

  5. Install git

    pacman -S git
    
  6. Clone repository

    git clone https://github.com/pyrex-coin/Pyrex-gui.git
    
  7. Build

    cd pyrex-gui
    ./build.sh
    cd build
    make deploy
    

The executable can be found in the .\release\bin directory.

About

Pyrexcoin: the secure, private, untraceable cryptocurrency

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • QML 63.0%
  • C++ 24.2%
  • C 6.1%
  • Inno Setup 1.8%
  • Shell 1.7%
  • QMake 1.1%
  • Other 2.1%