GithubHelp home page GithubHelp logo

isabella232 / app-iotex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ledgerhq/app-iotex

0.0 0.0 0.0 1.68 MB

Ledger wallet app for IoTeX blockchain

Home Page: https://iotex.io

License: Apache License 2.0

Makefile 0.88% Python 22.08% C 67.57% C++ 4.93% CMake 2.47% Shell 1.33% Starlark 0.05% Swift 0.15% CSS 0.35% Batchfile 0.08% Objective-C 0.02% MATLAB 0.01% Dockerfile 0.09%

app-iotex's Introduction

ledger-app-iotex

License

IoTeX wallet app according to ledger specs.

Follow this link to setup development SDK, toolchain, application loader.

Get source

Get source code to your local workspace, by calling:

git clone https://github.com/iotexproject/ledger-app-iotex.git

Dependencies

Ledger Nano S

This project requires ledger firmware 1.5.5

Ledger Python Tools

Ledger firmware 1.5.5 requires the blue-loader-python and ledgerblue from pip. Please follow the instructions here to get started:

https://github.com/LedgerHQ/blue-loader-python/tree/2a04716311c7e18236e59db3ccaa365592f2244b#python-tools-for-ledger-blue-and-nano-s

This tool requires python 2.7 - some versions do not run correctly with python 3.x versions. In order to check which version you are using run this in your terminal: python --version

There are different ways of installing python 2.7 side-by-side your existing version:

a) using anaconda

step 1: conda create -n py27 python=2.7 anaconda

step 2: source activate py27

and then:

step 3: source deactivate to switch back to the original environment

b) using virtualenv

step1: Download python 2.7 version

step2: virtualenv -p {python_location} {env_name}

step3: source env_name/bin/activate

and then:

step 4: deactivate to switch back to the original environment

Ubuntu Dependencies

Install the following packages:

sudo apt update && apt-get -y install build-essential git sudo wget cmake libssl-dev libgmp-dev autoconf libtool

OSX Dependencies

It is recommended that you install brew and xcode.

Additionally you will need to:

brew install libusb

Building

To build the app, follow ALL of the instructions in the link below to get your BOLOS development environment set up.

https://ledger.readthedocs.io/en/latest/userspace/getting_started.html

Then, use the Makefile to build and load the app:

$ make
$ make load

Run Demo

A short python demo script is provided to test basic function. Connect the Ledger device and open IoTeX app, and then run the script:

#python demo.py

app-iotex's People

Contributors

zcchai-iotex avatar jibeee avatar amaork avatar saltari avatar tamtamhero avatar bigspider avatar grydz avatar pscott avatar ququzone avatar raullenchai avatar

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.