StefanoLaguardia.eu

[How To] Monero (XMR) Wallet with Trezor Model T

Recently the GitHub user ph4r05 released some commits for the Monero wallet GUI that enabled the use of Trezor Model T with the Monero cryptocurrency (XMR). As the commits are now merged in the main Github repository of Monero but not yet “frozen” in a stable release I decided to publish this small guide that will guide Ubuntu and Debian users in compiling and running the Monero wallet GUI opening wallets with the securoty offered by Trezor Model T.

Preparation of the Operating System

I will be using Ubuntu 18.04 for the purpose of this guide but the same should be valid also for Debian and Debian-based GNU/Linux distributions.

The README file that we can find on the Monero Github project page is clearly reporting that to compile the wallet we need to start installing the following dependencies:

(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

The next step is to install a recent version of Qt. The recommended one is 5.9.7 but on Ubuntu 18.04 (as well as on Debian Stable) we have an older version. Therefore it is very recommended to go ahead and install Qt as per following steps.

Let’s first start downloading the Qt official installer for our GNU/Linux distribution and architecture:

https://www.qt.io/download-qt-installer

After the download we can proceed adding proper permission to the file. Open a terminal, move to the directory where the installer has been downloaded with “cd your_directory” and type the following:

chmod 755 qt-unified-linux-x64-3.1.1-online.run

We are now ready to launch the installer. We can do this with standard user:

./qt-unified-linux-x64-3.1.1-online.run

As soon as the launcher starts we will have a window where we can click the button Next. The second window will ask to login or register to Qt. We can skip this.
The third screen will welcome us to Qt Setup and we can continue clicking on button “Next” once again.

At this point the installer will ask us on what directory to put Qt for installation. I personally selected my home directory as we will mode the relevant files at a later stage:

QT installation Directory Selection

After clicking “Next” we will be having a new window where we want to change the option in the following way:

Qt Installer - package selection
We can now let the installer proceeding with the button “Next” when we will be asked to accept the license. Finally the installer will finish with its activity.

Once installation is completed we will come back to the terminal and we will move in the Directory where relevant files will be stored. If you followed my instructions you probably have the files in your home. Let’s move there and copy files in the proper directory where the Operating System is expecting to find them during Monero compiling:

cd /home/MY_USER/Qt/5.9.8/gcc_64
sudo cp -ar * /usr/lib/qt5/

We have now all the necessary software to compile the Monero GUI.

Compiling Monero

All we need to do now is to compile Monero as per Github instructions after cloning the current repository. So with a terminal we move to the directory where we want to clone the repo and we then use the commands:

git clone https://github.com/monero-project/monero-gui
cd monero-gui
QT_SELECT=5 ./build.sh

After the compile activities will be finished you can find the monero wallet gui in directory build/release/bin. Enjoy now using Monero wallet with Trezor Model T!!

Comments

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.