1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-03 04:58:25 +00:00
trezor-firmware/core/src/apps/stellar
2021-08-04 15:03:11 +02:00
..
operations refactor(core/stellar): use semantically appropriate layouts everywhere 2021-07-26 14:48:35 +02:00
__init__.py refactor(core): move app registrations to a single handler function 2021-05-06 13:14:21 +02:00
consts.py refactor(core): fix imports and use new protobuf API in apps 2021-06-08 09:55:19 +02:00
get_address.py refactor(core): convert apps.common to layouts 2021-08-04 15:03:11 +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/ui): move altcoin and webauthn layouts to separate file 2021-08-04 15:03:11 +02:00
README.md MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
sign_tx.py refactor(core): fix imports and use new protobuf API in apps 2021-06-08 09:55:19 +02:00
writers.py fix(core/stellar): review usages of write_bytes_unchecked 2021-02-10 16:37:26 +01:00

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.