1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-07 14:00:57 +00:00
trezor-firmware/core/src/apps/binance
matejcik e629a72c3a refactor(core): move app registrations to a single handler function
apps.webauthn.boot() does not need an if-condition because it's only
called from session.py when the usb interface is enabled

This means that they do not need to be stored in RAM at all. The obvious
drawback is that we need to hand-edit the if/elif sequence, but we don't
register new handlers all that often so 🤷
2021-05-06 13:14:21 +02:00
..
__init__.py refactor(core): move app registrations to a single handler function 2021-05-06 13:14:21 +02:00
get_address.py refactor(core): turn show_address, show_pubkey, show_xpub into layouts 2021-02-10 13:57:19 +01:00
get_public_key.py refactor(core/ui): raise exception on dialog cancel by default 2021-03-30 22:34:01 +02:00
helpers.py feat(core): update most apps to use path schemas 2020-11-05 14:30:11 +01:00
layout.py refactor(core): model-dependent UI component directories 2021-02-10 13:57:19 +01:00
README.md ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
sign_tx.py feat(core): update most apps to use path schemas 2020-11-05 14:30:11 +01:00

Binance

MAINTAINER = Stanislav Marcinko stanislav.marcinko@satoshilabs.com

AUTHOR = Stanislav Marcinko stanislav.marcinko@satoshilabs.com

REVIEWER = Jan Matějek jan.matejek@satoshilabs.com


Implementation is based on binance chain documentation and tested against fixtures from binance javascript sdk. Only a subset of messages needed for sdk integration is implemented.

Transactions

Binance transaction consists of a transaction message wrapped in a standard transaction structure (see documentation). One message per transaction.

Implemented subset of messages: Place Order Cancel Order Transfer

Testing

Mnemonic for recovering wallet used in binance sdk tests: offer caution gift cross surge pretty orange during eye soldier popular holiday mention east eight office fashion ill parrot vault rent devote earth cousin