mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-07 05:51:38 +00:00
e629a72c3a
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 🤷
|
||
---|---|---|
.. | ||
operations | ||
__init__.py | ||
consts.py | ||
get_address.py | ||
helpers.py | ||
layout.py | ||
README.md | ||
sign_tx.py | ||
writers.py |
Stellar
MAINTAINER = Tomas Susanka tomas.susanka@satoshilabs.com
AUTHOR = Tomas Susanka tomas.susanka@satoshilabs.com
REVIEWER = Jan Pochyla jan.pochyla@satoshilabs.com
ADVISORS = ZuluCrypto
This implementation of Stellar for Trezor Core is mostly based on the trezor-mcu C implementation by ZuluCrypto.
Stellar has a comprehensive developers documentation.
Transactions
Stellar transaction is composed of one or more operations. We support all operations except the Inflation operation (see here for rationale). A list of supported operations:
- Account Merge
- Allow Trust
- Bump Sequence
- Change Trust
- Create Account
- Create Passive Offer
- Manage Data
- Manage Offer
- Path Payment
- Payment
- Set Options
Since a simple transaction can be composed of several operations, first the StellarSignTx message is sent to Trezor, which includes the total number of operations. Then the different operations are consecutively send to Trezor.