1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-29 09:05:11 +01:00
monero-gui/README.md

235 lines
10 KiB
Markdown
Raw Normal View History

# Monero GUI
2018-01-07 06:20:45 +01:00
Copyright (c) 2014-2018, The Monero Project
2015-04-01 10:58:06 +02:00
2017-12-14 20:59:30 +01:00
## Development resources
2015-04-01 10:58:06 +02:00
2016-10-09 15:12:01 +02:00
- Web: [getmonero.org](https://getmonero.org)
- Forum: [forum.getmonero.org](https://forum.getmonero.org)
- Mail: [dev@getmonero.org](mailto:dev@getmonero.org)
- Github: [https://github.com/monero-project/monero-gui](https://github.com/monero-project/monero-gui)
2016-10-09 15:12:01 +02:00
- IRC: [#monero-dev on Freenode](irc://chat.freenode.net/#monero-dev)
2015-04-01 10:58:06 +02:00
## Vulnerability response
- Our [Vulnerability Response Process](https://github.com/monero-project/meta/blob/master/VULNERABILITY_RESPONSE_PROCESS.md) encourages responsible disclosure
- We are also available via [HackerOne](https://hackerone.com/monero)
2015-04-01 10:58:06 +02:00
## Introduction
2016-10-09 15:12:01 +02:00
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.
2015-04-01 10:58:06 +02:00
**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.
2016-10-09 15:12:01 +02:00
**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.
2015-04-01 10:58:06 +02:00
2016-10-09 15:12:01 +02:00
**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.
2015-04-01 10:58:06 +02:00
## About this project
2015-04-01 10:58:06 +02:00
2016-10-09 15:12:01 +02:00
This is the GUI for the [core Monero implementation](https://github.com/monero-project/monero). 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.
2015-04-01 10:58:06 +02:00
2016-10-09 15:12:01 +02:00
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.
2015-04-01 10:58:06 +02:00
## Supporting the project
2015-04-01 10:58:06 +02:00
2017-12-30 23:31:15 +01:00
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](https://openalias.org) standard.
2015-04-01 10:58:06 +02:00
2016-10-09 15:12:01 +02:00
The Monero donation address is: `44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A` (viewkey: `f359631075708155cc3d92a32b75a7d02a5dcf27756707b47a2b31b21c389501`)
2015-04-01 10:58:06 +02:00
2016-10-09 15:12:01 +02:00
The Bitcoin donation address is: `1KTexdemPdxSBcG55heUuTjDRYqbC5ZL8H`
2015-04-01 10:58:06 +02:00
GUI development funding and/or some supporting services are also graciously provided by sponsors:
2015-04-01 10:58:06 +02:00
[<img width="80" src="https://static.getmonero.org/images/sponsors/mymonero.png"/>](https://mymonero.com)
[<img width="150" src="https://static.getmonero.org/images/sponsors/kitware.png?1"/>](http://kitware.com)
[<img width="100" src="https://static.getmonero.org/images/sponsors/dome9.png"/>](http://dome9.com)
[<img width="150" src="https://static.getmonero.org/images/sponsors/araxis.png"/>](http://araxis.com)
[<img width="150" src="https://static.getmonero.org/images/sponsors/jetbrains.png"/>](http://www.jetbrains.com/)
2016-10-09 15:12:01 +02:00
[<img width="150" src="https://static.getmonero.org/images/sponsors/navicat.png"/>](http://www.navicat.com/)
[<img width="150" src="https://static.getmonero.org/images/sponsors/symas.png"/>](http://www.symas.com/)
2015-04-01 10:58:06 +02:00
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](https://bitcointalk.org/index.php?topic=583449.0).
## License
See [LICENSE](LICENSE).
## Installing the Monero GUI from a package
Packages are available for
* Arch Linux via AUR: [monero-wallet-qt](https://aur.archlinux.org/packages/monero-wallet-qt/)
* Void Linux: xbps-install -S monero-core
2017-12-15 14:57:19 +01:00
* GuixSD: guix package -i monero-core
Packaging for your favorite distribution would be a welcome contribution!
## Compiling the Monero GUI from source
### On Linux:
(Tested on Ubuntu 17.10 x64, Ubuntu 18.04 x64 and Gentoo x64)
2017-05-15 04:44:48 +02:00
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`
- 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`
2. 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](https://wiki.qt.io/Install_Qt_5_on_Ubuntu), 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`
- For Gentoo
`sudo emerge dev-qt/qtcore:5 dev-qt/qtdeclarative:5 dev-qt/qtquickcontrols:5 dev-qt/qtquickcontrols2:5 dev-qt/qtgraphicaleffects:5`
2016-08-21 21:03:26 +02:00
- 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`
3. Clone repository
`git clone https://github.com/monero-project/monero-gui.git`
4. Build
```
cd monero-gui
2018-07-28 13:45:43 +02:00
QT_SELECT=5 ./build.sh
```
2017-05-15 04:44:48 +02:00
The executable can be found in the build/release/bin folder.
### On OS X:
2016-10-09 15:12:01 +02:00
1. Install Xcode from AppStore
2. Install [homebrew](http://brew.sh/)
3. Install [monero](https://github.com/monero-project/monero) 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.
4. Install Qt:
`brew install qt5` (or download QT 5.8+ from [qt.io](https://www.qt.io/download-open-source/))
If you have an older version of Qt installed via homebrew, you can force it to use 5.x like so:
2017-03-25 17:22:13 +01:00
`brew link --force --overwrite qt5`
5. 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
6. Grab an up-to-date copy of the monero-gui repository
`git clone https://github.com/monero-project/monero-gui.git`
2017-05-15 04:44:48 +02:00
7. Go into the repository
`cd monero-gui`
2017-05-15 04:44:48 +02:00
8. Start the build
2016-11-18 01:11:49 +01:00
`./build.sh`
The executable can be found in the `build/release/bin` folder.
2016-12-04 20:21:14 +01:00
**Note:** Workaround for "ERROR: Xcode not set up properly"
2017-05-15 04:44:48 +02:00
Edit `$HOME/Qt/5.8/clang_64/mkspecs/features/mac/default_pre.prf`
2016-12-04 20:21:14 +01:00
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:
2016-10-09 15:12:01 +02:00
The Monero GUI on Windows is 64 bits only; 32-bit Windows GUI builds are not officially supported anymore.
2017-03-04 05:17:23 +01:00
1. Install [MSYS2](https://www.msys2.org/), follow the instructions on that page on how to update system and packages to the latest versions
2017-03-04 05:17:23 +01:00
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
```
You find more details about those dependencies in the [Monero documentation](https://github.com/monero-project/monero). 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
```
2016-10-13 14:35:57 +02:00
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
2017-03-04 05:17:23 +01:00
```
pacman -S git
2017-03-04 05:17:23 +01:00
```
6. Clone repository
2016-10-13 14:35:57 +02:00
```
git clone https://github.com/monero-project/monero-gui.git
2016-10-13 14:35:57 +02:00
```
7. Build
```
cd monero-gui
2017-03-04 05:17:23 +01:00
./build.sh
cd build
make deploy
```
2017-05-15 04:44:48 +02:00
The executable can be found in the `.\release\bin` directory.