You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/src/apps/stellar
matejcik 6fd355756c
fix(core/stellar): review usages of write_bytes_unchecked
3 years ago
..
operations fix(core/stellar): review usages of write_bytes_unchecked 3 years ago
README.md MONOREPO CREATE FROM trezor-core 5 years ago
__init__.py feat(core): update most apps to use path schemas 4 years ago
consts.py common: divisibility -> decimals 5 years ago
get_address.py refactor(core): turn show_address, show_pubkey, show_xpub into layouts 3 years ago
helpers.py feat(core): update most apps to use path schemas 4 years ago
layout.py refactor(core): model-dependent UI component directories 3 years ago
sign_tx.py fix(core/stellar): review usages of write_bytes_unchecked 3 years ago
writers.py fix(core/stellar): review usages of write_bytes_unchecked 3 years ago

README.md

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.