A Computer Scientist from Barcelona by the name Sergi Canal has developed a library, whose aim is to help any developer interact easily with Trezor devices. This library also intends to allow Trezor accounts to be used as seamlessly as possible with NEM library.
He explains the problem he encountered on his Medium account and elaborates on how he solved the issue. He purchased a Trezor hardware wallet and moved all his cryptocurrencies onto this device.
However, he reveals being disappointed when he realized that voting was disabled in Nano Wallet when logged in with a Trezor account. The only way to vote was by manually sending a 0xem transaction to the option address. This would not do, and he spent a month building a library to work around this issue.
The instructions for installation state that the user will need a Trezor device connected to the system, and Trezor-bridge should be running [or the chrome extension].
It also dives in depth about the working by stating:
“The module exports a class TrezorAccount, that is made to be as similar to the Account class in nem-library as possible. It allows to use trezor accounts to sign transactions. Unencrypting messages is not possible right now but may be in the future. Also the way that encrypted messages are sent is different from the way it is done in nem-library, since trezor encrypts messages at the same time that it signs and serializes the transaction.”