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/tools/snippets
grdddj c755c4177f
chore(tests): add new conventions for test files unification
2 years ago
..
README.md feat(tools): new snippets folder, sign_tx.py and unify_test_files.py scripts 2 years ago
sign_tx.py feat(tools): new snippets folder, sign_tx.py and unify_test_files.py scripts 2 years ago
unify_test_files.py chore(tests): add new conventions for test files unification 2 years ago

README.md

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.

sign_tx.py - file

  • 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

unify_test_files.py - file

  • 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