1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-13 01:48:21 +00:00
trezor-firmware/core/src/apps/stellar
2020-01-24 16:25:14 +01:00
..
operations stellar: fix ManageDataOp value padding 2019-10-01 15:12:37 +02:00
__init__.py core/typing: add annotations 2019-07-09 12:51:48 +02:00
consts.py common: divisibility -> decimals 2019-12-09 17:43:47 +01:00
get_address.py MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
helpers.py MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
layout.py utils: introduce format_plural and move format functions to strings.py 2020-01-24 16:25:14 +01:00
README.md MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
sign_tx.py core/stellar: make sure function that awaits is async 2019-12-09 16:31:46 +01:00
writers.py stellar: fix ManageDataOp value padding 2019-10-01 15:12:37 +02: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.