Git Product home page Git Product logo

app-neo's Introduction

error codes

any response that doesn not end with 0x9000 is an error. Some errors are standard errors from the APDU (Application Protocol Data Unit)

http://techmeonline.com/apdu-status-error-codes/

All errors on NEO 1.1 start with 0x6D (because I read the spec wrong).

  • 0x6D00 unknown command. (this is to spec, the rest are enoded as 'unknown command' 0x6D but should be 'unknown parameter' 0x6B)
  • 0x6D01 error, unknown user interface screen, up button was pressed.
  • 0x6D02 error, unknown user interface screen, down button was pressed.
  • 0x6D03 buffer underflow in transaction parsing while skipping over bytes.
  • 0x6D04 variable length byte array decoding error.
  • 0x6D05 buffer underflow in transaction parsing while reading bytes.
  • 0x6D06 transaction type decoding error.
  • 0x6D07 transaction attribute usage type decoding error.
  • 0x6D08 signing message too short, bip44 path unreadable.
  • 0x6D09 public key message too short, bip44 path unreadable.
  • 0x6D10 signed public key message too short, bip44 path unreadable.
  • 0x6D11 base_x encoded string is too long for available encoding memory.
  • 0x6D12 base_x encoded string is too long for available decoding memory.
  • 0x6D14 base_x encoding error.

This will be fixed to use the correct codes (0x9210 No more storage available, 0x6B00 wrong parameter) in 1.2, sometime in 2018.

blue-app-neo CE

This is the community edition of the Ledger Nano S app for the NEO Cryptocoin.

Documentation on how it works is here: sequence diagrams

Run make load to build and load the application onto the device.

After installing and running the application, you can run demo.py to test signing several transactions over USB.

Each transaction should display correctly in the UI. Use the buttons individually to scroll up and down to view the transaction details. Either Sign or Deny the transaction by clicking both top buttons on the 'Sign Tx Now', 'Sign Tx' and 'Deny Tx' screens. The only difference between 'Sign Tx Now' and 'Sign Tx' is their placement order in the screen list, both sign the transaction.

Note that in order to run demo-GAS-NEO.py, you must install the fastecdsa Python package:

pip install ecdsa

also install GMP (https://gmplib.org/)

See The Environment Setup Guide if you want to build the appyourself..

See Ledger's documentation to get started.

blue-app-neo

todo: key screen does not refresh, have to go in and out to see a refresh.

app-neo's People

Contributors

btchip avatar coranos avatar leeyikjiun avatar mtrajano avatar nickfujita avatar oto-ledger avatar saltari avatar tamtamhero avatar tylerhann 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.