1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-21 12:44:14 +01:00
Go to file
2021-07-01 18:36:43 +02:00
.github/workflows build: fix typo 2021-06-02 19:33:22 +02:00
cmake cmake: cleanup hidapi / libusb 2021-05-13 07:12:28 +02:00
components Merge pull request #3586 2021-06-24 13:55:08 -05:00
external cmake: enable position independent code for quirc 2021-07-01 18:36:43 +02:00
fonts RemoteNodeList: display shield icon if trusted daemon 2021-06-23 03:09:29 +02:00
images Transfer: create SuccessfulTxDialog 2020-09-30 00:30:57 +02:00
installers/windows installers/windows: fix typo in readme.htm 2021-01-30 20:03:55 +00:00
js SettingsInfo, WizardRestoreWallet1, WizardCreateDevice1: Correct restore height date when typed in wrong format 2021-06-15 16:34:07 +02:00
lang Remove Pirate language 2020-09-14 18:39:06 +02:00
monero@f6e63ef260 build: prepare v0.17.2.0 2021-04-08 01:32:54 +02:00
pages Merge pull request #3585 2021-06-24 13:54:42 -05:00
share Merge pull request #2774 2020-02-19 22:10:43 -05:00
src TransactionHistory: use displayAmount for amount 2021-06-18 02:08:37 +02:00
translations cmake: link translations target with Qt5::Core 2021-04-22 21:03:41 +02:00
wizard StandardDropdown: use ColumnLayout; use same height of LineEdit; include dropdownLabel 2021-06-20 00:02:59 +02:00
.dockerignore docker: implement Docker Linux 'release-static' build 2020-07-02 18:13:51 +00:00
.gitignore Add QT Creator cache file to gitignore 2020-03-08 15:58:29 +00:00
.gitmodules QR-Code-scanner: integrate QUIRC library, implement QrDecoder, drop ZBar 2020-12-23 15:08:42 +00:00
CMakeLists.txt cmake: cleanup hidapi / libusb 2021-05-13 07:12:28 +02:00
DEPLOY.md DEPLOY: new hidapi release available 2020-11-01 00:25:08 +01:00
Dockerfile.android docker: fix boost bintray links 2021-04-26 19:51:03 +02:00
Dockerfile.linux Docker: Linux - fix docker cache and apt update issue 2021-04-30 14:05:27 +00:00
Dockerfile.windows docker: Windows - use Qt 5.15.2 2020-12-26 08:37:45 +00:00
LeftPanel.qml LeftPanel: drop Advanced submenu items, use NavBar instead 2021-03-20 09:20:09 +00:00
LICENSE Update copyright for 2018 2018-01-08 12:51:26 -05:00
main.qml History: display Payment proof dialog immediately after clicking the button 2021-06-22 21:19:27 +02:00
Makefile Makefile: add CMAKE_BUILD_TYPE=Debug to debug build 2021-04-22 18:54:25 +02:00
MiddlePanel.qml Merge pull request #3208 2021-04-24 16:14:28 -04:00
qml.qrc Merge pull request #3422 2021-04-22 01:57:04 -04:00
README.md README: freenode -> libera 2021-05-29 05:18:32 +02:00
start-low-graphics-mode.bat remove linebreaks 2017-12-30 22:38:39 +01:00

Monero GUI

Copyright (c) 2014-2019, The Monero Project

Development resources

Vulnerability response

Introduction

Monero 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: Monero 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, Monero 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.

About this project

This is the GUI for the core Monero implementation. It is open source and completely free to use without restrictions, except for those specified in the license agreement below. There are no restrictions on anyone creating an alternative implementation of Monero that uses the protocol and network in a compatible manner.

As with many development projects, the repository on Github is considered to be the "staging" area for the latest changes. Before changes are merged into that branch on the main repository, they are tested by individual developers in their own branches, submitted as a pull request, and then subsequently tested by contributors who focus on testing and code reviews. That having been said, the repository should be carefully considered before using it in a production environment, unless there is a patch in the repository for a particular show-stopping issue you are experiencing. It is generally a better idea to use a tagged release for stability.

Supporting the project

Monero is a 100% community-sponsored endeavor. If you want to join our efforts, the easiest thing you can do is support the project financially. Both Monero and Bitcoin donations can be made to donate.getmonero.org if using a client that supports the OpenAlias standard.

The Monero donation address is: 888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H (viewkey: f359631075708155cc3d92a32b75a7d02a5dcf27756707b47a2b31b21c389501)

The Bitcoin donation address is: 1KTexdemPdxSBcG55heUuTjDRYqbC5ZL8H

GUI development funding and/or some supporting services are also graciously provided by sponsors:

There are also several mining pools that kindly donate a portion of their fees, a list of them can be found on our Bitcointalk post.

License

See LICENSE.

Translations

Do you speak a second language and would like to help translate the Monero GUI? Check out Weblate, our localization platform, at translate.getmonero.org. Choose the language and suggest a translation for a string or review an existing one. The Localization Workgroup made a guide with step-by-step instructions for Weblate.

If you need help/support or any info you can contact the localization workgroup on the IRC channel #monero-translations (relayed on matrix/riot and MatterMost) or by email at translate[at]getmonero[dot]org. For more info about the Localization workgroup: github.com/monero-ecosystem/monero-translations

Status of the translations:
Translation status

Installing the Monero GUI from a package

Packages are available for

  • Arch Linux: monero-gui
  • Debian: See the whonix/monero-gui repository
  • Void Linux: xbps-install -S monero-gui
  • GuixSD: guix package -i monero-gui
  • macOS (homebrew): brew install --cask monero-wallet

Packaging for your favorite distribution would be a welcome contribution!

Compiling the Monero GUI from source

Note: Qt 5.9.7 is the minimum version required to build the GUI.

Building Reproducible Windows static binaries with Docker (any OS)

  1. Install Docker https://docs.docker.com/engine/install/

  2. Clone the repository

    git clone --branch master --recursive https://github.com/monero-project/monero-gui.git
    

    * master - replace with the desired version tag (e.g. v0.17.1.9) to build the release binaries.

  3. Prepare build environment

    cd monero-gui
    docker build --tag monero:build-env-windows --build-arg THREADS=4 --file Dockerfile.windows .
    

    * 4 - number of CPU threads to use

  4. Build

    docker run --rm -it -v <MONERO_GUI_DIR_FULL_PATH>:/monero-gui -w /monero-gui monero:build-env-windows sh -c 'make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j4'
    

    * <MONERO_GUI_DIR_FULL_PATH> - absolute path to monero-gui directory
    * 4 - number of CPU threads to use

  5. Monero GUI Windows static binaries will be placed in monero-gui/build/x86_64-w64-mingw32/release/bin directory

Building Reproducible Linux static binaries with Docker (any OS)

  1. Install Docker https://docs.docker.com/engine/install/

  2. Clone the repository

    git clone --branch master --recursive https://github.com/monero-project/monero-gui.git
    

    * master - replace with the desired version tag (e.g. v0.17.1.9) to build the release binaries.

  3. Prepare build environment

    cd monero-gui
    docker build --tag monero:build-env-linux --build-arg THREADS=4 --file Dockerfile.linux .
    

    * 4 - number of CPU threads to use

  4. Build

    docker run --rm -it -v <MONERO_GUI_DIR_FULL_PATH>:/monero-gui -w /monero-gui monero:build-env-linux sh -c 'make release-static -j4'
    

    * <MONERO_GUI_DIR_FULL_PATH> - absolute path to monero-gui directory
    * 4 - number of CPU threads to use

  5. Monero GUI Linux static binaries will be placed in monero-gui/build/release/bin directory

  6. (Optional) Compare monero-wallet-gui SHA-256 hash to the one obtained from a trusted source

    docker run --rm -it -v <MONERO_GUI_DIR_FULL_PATH>:/monero-gui -w /monero-gui monero:build-env-linux sh -c 'shasum -a 256 /monero-gui/build/release/bin/monero-wallet-gui'
    

    * <MONERO_GUI_DIR_FULL_PATH> - absolute path to monero-gui directory

Building Android APK with Docker (any OS) Experimental

  • Minimum Android 9 Pie (API 28)
  • ARMv8-A 64-bit CPU
  1. Install Docker https://docs.docker.com/engine/install/

  2. Clone the repository

    git clone --recursive https://github.com/monero-project/monero-gui.git
    
  3. Prepare build environment

    cd monero-gui
    docker build --tag monero:build-env-android --build-arg THREADS=4 --file Dockerfile.android .
    

    * 4 - number of CPU threads to use

  4. Build

    docker run --rm -it -v <MONERO_GUI_DIR_FULL_PATH>:/monero-gui -e THREADS=4 monero:build-env-android
    

    * <MONERO_GUI_DIR_FULL_PATH> - absolute path to monero-gui directory
    * 4 - number of CPU threads to use

  5. Monero GUI APK will be placed in monero-gui/build/Android/release/android-build directory

  6. Deploy

    • Using ADB (Android debugger bridge)
      • Connect your device with USB and install Monero GUI APK with adb:
      adb install build/Android/release/android-build/monero-gui.apk
      
      • Troubleshooting:
      adb devices -l
      adb logcat
      
      • If using adb inside docker, make sure you did
      docker run -v /dev/bus/usb:/dev/bus/usb --privileged
      
    • Using a web server
      mkdir /usr/tmp
      cp build/Android/release/android-build/monero-gui.apk /usr/tmp
      docker run -d -v /usr/tmp:/usr/share/nginx/html:ro -p 8080:80 nginx
      
      Now it should be accessible through a web browser at
      http://<your.local.ip>:8080/QtApp-debug.apk
      

On Linux:

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

  1. Install Monero 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 libnorm-dev libusb-1.0-0-dev libpgm-dev libprotobuf-dev protobuf-compiler libgcrypt20-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 dev-libs/libgcrypt

  • For Fedora

    sudo dnf install make automake cmake gcc-c++ boost-devel miniupnpc-devel graphviz doxygen unbound-devel libunwind-devel pkgconfig openssl-devel libcurl-devel hidapi-devel libusb-devel zeromq-devel libgcrypt-devel

  1. Install Qt:

Note: The Qt 5.9.7 or newer requirement makes some distributions (mostly based on debian, like Ubuntu 16.x or Linux Mint 18.x) obsolete due to their repositories containing an older Qt version.

The recommended way is to install 5.9.7 from the official Qt installer or compiling it yourself. This ensures you have the correct version. Higher versions can work but as it differs from our production build target, slight differences may occur.

The following instructions will fetch Qt from your distribution's repositories instead. Take note of what version it installs. Your mileage may vary.

  • For Ubuntu 17.10+

    sudo apt install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtqml-models2 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-platform qml-module-qt-labs-folderlistmodel qttools5-dev-tools qml-module-qtquick-templates2 libqt5svg5-dev

  • 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

    • For Gentoo

      The qml USE flag must be enabled.

      emerge dev-qt/qtmultimedia:5

  1. Clone repository

    git clone --recursive https://github.com/monero-project/monero-gui.git
    cd monero-gui
    
  2. Build

    make release -j4
    

    * 4 - number of CPU threads to use
    * Add CMAKE_PREFIX_PATH enviroment variable to set a custom Qt install directory, e.g. CMAKE_PREFIX_PATH=$HOME/Qt/5.9.7/gcc_64 make release -j4

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

On OS X:

  1. Install Xcode from AppStore

  2. Install homebrew

  3. Install monero dependencies:

brew install boost hidapi zmq libpgm libsodium miniupnpc ldns expat libunwind-headers protobuf libgcrypt

  1. Install Qt:

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

  1. Grab an up-to-date copy of the monero-gui repository

    git clone --recursive https://github.com/monero-project/monero-gui.git
    cd monero-gui
    
  2. Start the build

    make release -j4
    

    * 4 - number of CPU threads to use
    * Add CMAKE_PREFIX_PATH enviroment variable to set a custom Qt install directory, e.g. CMAKE_PREFIX_PATH=$HOME/Qt/5.9.7/clang_64 make release -j4

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

For building an application bundle see DEPLOY.md.

On Windows:

The Monero 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 Monero 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 mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb mingw-w64-x86_64-libgcrypt
    

    You find more details about those dependencies in the Monero documentation. 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.

  5. Install git

    pacman -S git
    
  6. Clone repository

    git clone --recursive https://github.com/monero-project/monero-gui.git
    cd monero-gui
    
  7. Build

    make release-win64 -j4
    cd build/release
    make deploy
    

    * 4 - number of CPU threads to use

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