GithubHelp home page GithubHelp logo

fsmv / oregano Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ergon-moe/oregano

0.0 1.0 0.0 60.27 MB

Lightweight Ergon wallet

License: MIT License

Shell 1.43% Ruby 0.02% Python 83.05% C 5.65% Objective-C 6.65% Java 0.40% Kotlin 2.38% NSIS 0.34% Dockerfile 0.09%

oregano's Introduction

Oregano - Lightweight Ergon client (Doesn't connect to the network yet!)

Licence: MIT Licence
Author: Oregano Developers
Language: Python
Homepage: https://ergon.moe/

Getting started

Note: If running from source, Python 3.6 or above is required to run Oregano. If your system lacks Python 3.6, you have other options, such as the AppImage / binary releases or running from source using pyenv (see section Running from source on old Linux below).

macOS: It is recommended that macOS users run the binary .dmg as that's simpler to use and has everything included. Otherwise, if you want to run from source, see section Running from source on macOS below.

Oregano is a pure python application forked from Electron Cash. If you want to use the Qt interface, install the Qt dependencies:

sudo apt-get install python3-pyqt5 python3-pyqt5.qtsvg

If you downloaded the official package (tar.gz), you can run Oregano from its root directory (called Oregano), without installing it on your system; all the python dependencies are included in the 'packages' directory. To run Oregano from its root directory, just do:

./oregano-app

You can also install Oregano on your system, by running this command:

sudo apt-get install python3-setuptools
python3 setup.py install

This will download and install the Python dependencies used by Oregano, instead of using the 'packages' directory.

If you cloned the git repository, you need to compile extra files before you can run Oregano. Read the next section, "Development Version".

Hardware Wallet - Ledger Nano S

Oregano support Ledger Nano S hardware wallet by pretending it's a BCH wallet. If you plan to use you need an additional dependency, namely btchip. To install it run this command:

sudo pip3 install btchip-python

Warning [1]: When tricking Ledger you're using Bitcoin Cash, not Ergon, it will give you a bitcoincash: address for verification. You can convert your ergon: address to bitcoincash: format with a script scripts/addree

Warning [2]: When using a nonstandard derivation path (default derivation path of Ergon is different than of Bitcoin Cash) Ledger requires you to confirm each utxo spend with multiple clicks, which is very inconvenient if you have hundreds of coins. Use wisely.

Development version

Check your python version >= 3.6, and install pyqt5, as instructed above in the Getting started section above or Running from source on old Linux section below.

If you are on macOS, see the Running from source on macOS section below.

Check out the code from Github:

git clone https://github.com/Ergon-moe/Oregano
cd Oregano

Install the python dependencies:

pip3 install -r contrib/requirements/requirements.txt --user

Create translations (optional):

sudo apt-get install python-requests gettext
./contrib/make_locale

Compile libsecp256k1 (optional, yet highly recommended):

sudo apt-get install libtool automake
./contrib/make_secp

For plugin development, see the plugin documentation.

Running unit tests (very optional, advanced users only):

pip install tox
tox

Tox will take care of building a faux installation environment, and ensure that the mapped import paths work correctly.

Running from source on old Linux

If your Linux distribution has a different version of python 3 (such as python 3.5 in Debian 9), it is recommended to do a user dir install with pyenv. This allows Electron Cash to run completely independently of your system configuration.

  1. Install pyenv in your user account. Follow the printed instructions about updating your environment variables and .bashrc, and restart your shell to ensure that they are loaded.
  2. Run pyenv install 3.6.9. This will download and compile that version of python, storing it under .pyenv in your home directory.
  3. cd into the Oregano directory. Run pyenv local 3.6.9 which inserts a file .python-version into the current directory.
  4. While still in this directory, run pip install pyqt5.
  5. If you are installing from the source file (.tar.gz or .zip) then you are ready and you may run ./oregano. If you are using the git version, then continue by following the Development version instructions above.

Running from source on macOS

You need to install either MacPorts or HomeBrew. Follow the instructions on either site for installing (Xcode from Apple's developer site is required for either).

  1. After installing either HomeBrew or MacPorts, clone this repository and switch to the directory: git clone https://github.com/Ergon-moe/Oregano && cd Oregano
  2. Install python 3.6 or 3.7. For brew: brew install python3 or if using MacPorts: sudo port install python36
  3. Install PyQt5: python3 -m pip install --user pyqt5
  4. Install Oregano requirements: python3 -m pip install --user -r contrib/requirements/requirements.txt
  5. Compile libsecp256k1 (optional, yet highly recommended): ./contrib/make_secp. This requires GNU tools and automake, install with brew: brew install coreutils automake or if using MacPorts: sudo port install coreutils automake
  6. At this point you should be able to just run the sources: ./oregano

Creating Binaries

Linux AppImage & Source Tarball

See contrib/build-linux/README.md.

Mac OS X / macOS

See contrib/osx/.

Windows

See contrib/build-wine/.

Android

See android/.

iOS

See ios/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.