Open brianddk opened 5 years ago
I had thought it would be straight forward looking at this:
But the trezor FW coin structure can't be passed in. Its static in the firmware binary itself. I've asked if extending it to allow dynamic coin additions would be possible. We'll see.
Trezor already has a python library for creating and signing transactions. The raw API allows doing much of what your doing here. It even allows crafting TXNs from spent outputs. Might be easier to integrate than you think.
Here's a simple_trezor_txn.py for reference. Note the sample uses the new release of the library (v0.11.0).