ymgve / bitcoin_fork_claimer

Script for transferring/claiming your coins on various Bitcoin forks
204 stars 86 forks source link

Consider supporting Trezor #74

Open brianddk opened 5 years ago

brianddk commented 5 years ago

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).

brianddk commented 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.