1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-28 09:31:37 +01:00
Go to file
luigi1111 cee56a7d23
Merge pull request #2789
dc3a99c Add and activate new language: Norwegian (erciccione)
2020-02-28 16:16:01 -05:00
.github/workflows workflows: fix macOS build 2020-02-25 22:33:50 +01:00
android Update copyright for 2018 2018-01-08 12:51:26 -05:00
cmake Migrate build system to cmake 2019-11-27 22:59:27 +01:00
components PasswordDialog: don't skip equality check 2020-02-27 15:29:35 +01:00
fonts Migrate build system to cmake 2019-11-27 22:59:27 +01:00
images Merge pull request #2730 2020-01-23 10:26:54 -05:00
installers/windows installer: change blockchain folder string 2020-02-13 16:45:08 +01:00
js misc: remove unused components 2019-12-21 15:13:23 +00:00
lang Add and activate new language: Norwegian 2020-02-28 14:08:23 +01:00
monero@581994b61c Add copyright headers 2019-05-01 13:53:04 -07:00
pages Merge pull request #2775 2020-02-19 22:13:53 -05:00
share Merge pull request #2774 2020-02-19 22:10:43 -05:00
src fix multiple minor issues (c-style casts, default branch, etc.) 2020-02-28 10:25:57 +00:00
tabs Migrate build system to cmake 2019-11-27 22:59:27 +01:00
translations Add translations from Weblate + refresh + 1 new language: Norwegian 2020-02-28 12:49:34 +00:00
wizard Merge pull request #2785 2020-02-26 14:51:10 -05:00
.gitignore Add *.autosave 2019-12-21 11:16:43 +00:00
.gitmodules Ignore unstaged files in 'monero' submodule by default. 2017-05-16 21:57:47 +02:00
build.sh build: fixes build with Trezor, requires #4945, on current monero master 2018-12-18 21:09:10 +01:00
CMakeLists.txt build: fix all warnings, treat warnings as errors 2020-02-16 13:55:08 +00:00
deployment.pri first push 2014-07-07 19:08:30 +02:00
get_libwallet_api.sh build: fix cmake command line ARCH def, add ARCH=native fallback 2020-01-24 20:31:45 +01:00
ios_get_libwallet.api.sh IOS libwallet build script 2017-11-03 16:57:11 +01:00
LeftPanel.qml Merge pull request #2756 2020-02-04 14:35:18 -05:00
LICENSE Update copyright for 2018 2018-01-08 12:51:26 -05:00
linuxdeploy_helper.sh Start script for Tails 2019-07-04 01:25:03 +02:00
main.qml main: show splash screen after passphrase entry 2020-02-27 18:39:35 +01:00
Makefile build: autodetect MSYS2 install path, support non-standard location 2019-12-30 09:44:21 +00:00
MiddlePanel.qml Scrollbar: don't autohide if enabled (except on Mac) 2019-12-21 18:33:36 +00:00
monero-wallet-gui.pro Merge pull request #2776 2020-02-19 22:15:08 -05:00
qml.qrc Add and activate new language: Norwegian 2020-02-28 14:08:23 +01:00
README.md Merge pull request #2736 2020-01-23 10:28:05 -05:00
start-low-graphics-mode.bat remove linebreaks 2017-12-30 22:38:39 +01:00
utils.sh Fix version string by picking up unannotated tags 2018-06-21 20:36:46 +09:00
windeploy_helper.sh windeploy: add libzstd and update libicu* 2020-01-08 21:47:04 +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: 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A (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

Installing the Monero GUI from a package

Packages are available for

  • Arch Linux: pacman -S monero-gui
  • Void Linux: xbps-install -S monero-core
  • GuixSD: guix package -i monero-core

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.

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

  • 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

  • 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

  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-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 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 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/monero-project/monero-gui.git

  2. Build

    cd monero-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 monero dependencies:

brew install boost

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.9.7+ 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 for Qt: export PATH=$PATH:$HOME/Qt/5.9.7/clang_64/bin
  • Example for Homebrew: export PATH=$PATH:/usr/local/opt/qt/bin
  1. Grab an up-to-date copy of the monero-gui repository

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

  1. Go into the repository

cd monero-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.9.7/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 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
    

    Optional : To build the flag WITH_SCANNER

    pacman -S mingw-w64-x86_64-zbar
    

    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 https://github.com/monero-project/monero-gui.git
    
  7. Build

    cd monero-gui
    source ./build.sh release-static
    cd build
    make deploy
    

    Note: The use of source above is a dirty workaround for a suspected bug in the current QT version 5.11.2-3 available in the MSYS2 packaging system, see https://github.com/monero-project/monero-gui/issues/1559 for more info.

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