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 5f016a896a
chore: upgrade style checkers
3 months ago
..
operations chore: upgrade style checkers 3 months ago
README.md refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp. 3 years ago
__init__.py refactor(core): move app registrations to a single handler function 3 years ago
consts.py feat(common & core & legacy & python/stellar): add support for `ClaimClaimableBalanceOp`. 5 months ago
get_address.py feat(core): show account number in receive/public key details for altcoins 8 months ago
helpers.py chore(core): decrease stellar size by 1400 bytes 2 years ago
layout.py chore: upgrade style checkers 3 months ago
sign_tx.py style(core): apply isort 5 9 months ago
writers.py chore(core): decrease stellar size by 1400 bytes 2 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 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.