1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-24 15:38:22 +00:00
trezor-firmware/core/src/apps/stellar
2021-11-04 13:16:29 +01:00
..
operations refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp. 2021-11-04 13:16:29 +01:00
__init__.py refactor(core): move app registrations to a single handler function 2021-05-06 13:14:21 +02:00
consts.py refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp. 2021-11-04 13:16:29 +01:00
get_address.py feat(core/stellar): add type checking to Stellar app 2021-09-24 10:30:19 +02:00
helpers.py feat(core/stellar): add type checking to Stellar app 2021-09-24 10:30:19 +02:00
layout.py feat(core/stellar): show start/end timestamps in human readable format 2021-10-29 11:00:30 +02:00
README.md refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp. 2021-11-04 13:16:29 +01:00
sign_tx.py style(all): fix pylint complaints 2021-10-27 13:13:15 +02:00
writers.py feat(core/stellar): add type checking to Stellar app 2021-09-24 10:30:19 +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 Sell Offer
  • Manage Data
  • Manage Buy Offer
  • Manage Sell Offer
  • Path Payment Strict Receive
  • Path Payment Strict Send
  • 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.