Skip to content

letheanVPN/lethean-gui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lethean GUI

Copyright (c) 2014-2017, The Monero Project Portions Copyright (c) 2018-2019, The Lethean developers

Development Resources

Introduction

Lethean 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: Lethean 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, Lethean 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 core implementation of Lethean. 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 Lethean 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.

Anyone is welcome to contribute to Lethean's codebase! If you have a fix or code change, feel free to submit it as a pull request directly to the "master" branch. In cases where the change is relatively small or does not affect other parts of the codebase it may be merged in immediately by any one of the collaborators. On the other hand, if the change is particularly large or complex, it is expected that it will be discussed at length either well in advance of the pull request being submitted, or even directly on the pull request.

License

See LICENSE.

Contributing

If you want to help out, see CONTRIBUTING for a set of guidelines.

Installing on Linux from repository

If you want to run the Lethean wallet GUI on a supported distribution, you can use the official repository. Add to your apt sources as follows (you need to be have superuser previleges):

echo 'deb [trusted=yes] http://download.lethean.io/repo/DISTRIBUTION/ ./' >/etc/apt/sources.list.d/lethean.list

currently supported DISTRIBUTION values:

Ubuntu: xenial, bionic

Debian: stretch, buster

Then run:

apt-get update
apt-get install lethean-gui

This won't install any command line wallet tool. You can add the wallet cli by running the following command:

apt-get install lethean-wallet-cli

If you are running services on the lethean network, like in the case of an exchange, you may need the wallet rpc client as well:

apt-get install lethean-wallet-rpc

The lethean-wallet-vpn-rpc package is only needed if you want to run an exit node (i.e. provide vpn services through the lethean network and earn coins). In this case, it's easier to start by installing the lethean-vpn package instead, and follow the related guide on https://github.com/ronnylov/lethean-vpn/wiki/Full-Lethean-exit-node-install-guide

Compiling Lethean Core from Source

On Linux:

(Tested on Ubuntu 16.04 x86, 16.10 x64, 18.04 x64, Gentoo x64 and Linux Mint 18 "Sarah" - Cinnamon x64)

  1. Install Lethean dependencies
  • For Ubuntu and Mint

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

  • For Debian 9

    sudo apt install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl1.0-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 sys-libs/libunwind

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

    git clone https://github.com/LetheanMovement/lethean-gui

  2. Go into the repository

    cd lethean-gui

  3. Install the GUI dependencies

  • For Ubuntu 16.04 x86

    sudo apt-get install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-xmllistmodel qttools5-dev-tools qml-module-qtquick-dialogs

  • For Ubuntu 16.04+ x64

    sudo apt-get install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-xmllistmodel qttools5-dev-tools qml-module-qtquick-dialogs qml-module-qt-labs-settings libqt5qml-graphicaleffects

  • For Ubuntu 17.10+ x64 sudo apt-get install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-xmllistmodel qttools5-dev-tools qml-module-qtquick-dialogs qml-module-qt-labs-settings qml-module-qtgraphicaleffects

  • For Ubuntu 18.04+ x64 sudo apt-get install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-xmllistmodel qttools5-dev-tools qml-module-qtquick-dialogs qml-module-qt-labs-settings qml-module-qtgraphicaleffects qml-module-qt-labs-folderlistmodel

  • For Debian 9+ sudo apt-get install qml-module-qtquick-controls qml-module-qtquick-xmllistmodel qml-module-qtquick-window2 qml-module-qtquick-dialogs qml-module-qt-labs-settings qml-module-qt-labs-folderlistmodel qml-module-qtgraphicaleffects

  • For Linux Mint 18 "Sarah" - Cinnamon x64

    sudo apt install qml-module-qt-labs-settings qml-module-qtgraphicaleffects

  • 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 and Mint

      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. Build the GUI
  • For Ubuntu and Mint

    ./build.sh

  • For Gentoo

    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 lethean-gui dependencies:

brew install boost --c++11

brew install openssl - to install openssl headers

brew install pkgconfig

brew install cmake

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 lethean-gui repository

git clone https://github.com/LetheanMovement/lethean-gui.git

  1. Go into the repository

cd lethean-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:

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

  2. Install Lethean dependencies as described in Lethean documentation into msys2 environment As we only build application for x86, install only dependencies for x86 architecture (i686 in package name)

    pacman -S mingw-w64-i686-toolchain make mingw-w64-i686-cmake mingw-w64-i686-boost
    
    
  3. Install git into msys2 environment

    pacman -S git
    
  4. Install Qt5 from official site

    • download unified installer, run and select following options:
      • Qt > Qt 5.7 > MinGW 5.3.0 32 bit
      • Tools > MinGW 5.3.0
    • continue with installation
  5. Open MinGW-w64 Win32 Shell shell

    %MSYS_ROOT%\msys2_shell.cmd -mingw32

    Where %MSYS_ROOT% will be c:\msys32 if your host OS is x86-based or c:\msys64 if your host OS is x64-based

  6. Install the latest version of boost, specificly the required static libraries

    cd
    wget http://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.bz2
    tar xjf boost_1_63_0.tar.bz2
    cd boost_1_63_0
    ./bootstrap.sh mingw
    ./b2 --prefix=/mingw32/boost --layout=tagged --without-mpi --without-python toolset=gcc address-model=32 variant=debug,release link=static threading=multi runtime-link=static -j$(nproc) install
    
  7. Clone repository

    cd
    git clone https://github.com/LetheanMovement/lethean-gui.git
    
  8. Build the GUI

    cd lethean-gui
    export PATH=$(ls -rd /c/Qt/5.[6,7,8]/mingw53_32/bin | head -1):$PATH
    ./build.sh
    cd build
    make deploy
    

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

Packages

No packages published

Languages

  • QML 54.6%
  • C++ 29.3%
  • C 5.8%
  • CMake 3.3%
  • Shell 2.6%
  • Inno Setup 1.3%
  • Other 3.1%