cosmos / ledger-cosmos-obsolete

Ledger Nano S support for Tendermint/Cosmos
Apache License 2.0
42 stars 29 forks source link

Przemek/json parsing ledger #5

Closed brejski closed 6 years ago

brejski commented 6 years ago

Adding support for parsing json messages in the Ledger.

This PR includes:

  1. GO command line tool to produce various transaction messages
  2. Changes to Python test code which gets transaction messages from GO command line tool and splits them in chunks (if they're longer than 250 bytes long) and uploads them to the Ledger
  3. Changes to Ledger app that receive chunks of json messages, store them in local buffer and parses them using jsmn library based on the current schema of transaction messages.
  4. Bunch of unit tests.