1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00
trezor-firmware/tools/snippets/README.md

24 lines
1.2 KiB
Markdown
Raw Normal View History

# Snippets
This folder is storing non-essential scripts (snippets, gists), which may however come in handy in a year or two.
These scripts do not need to have a high standard, but each of those should have a short description of what is it doing.
2022-04-13 08:35:43 +00:00
## [sign_tx.py](./sign_tx.py)
- signing of BTC transactions that can be spent with currently connected device
- need to specify the input UTXOs and the output address(es)
- generates a serialized transaction that can be then announced to the network
2022-04-13 08:35:43 +00:00
## [unify_test_files.py](./unify_test_files.py)
- enforcing some readability practices in test files and possibly adding information about paths and addresses used
- need to specify all the files to be modified and optionally the path-to-address translation file
- rewrites the files in place, or just prints the intended changes when run with `-c`
2022-04-13 08:35:43 +00:00
## [monero_unused_functions](./monero_unused_functions.py)
- Find functions from Monero cryptography that are not used.
## [eth_defs_unpack.py](./eth_defs_unpack.py)
- Unpacks the definitions from a `definitions-sparse.zip` that does not contain the
Merkle proofs for space-saving. This format is not currently distributed.