JoinColony / purser

Interact with Ethereum wallets easily
https://joincolony.github.io/purser
MIT License
84 stars 21 forks source link

Fix Ledger and Trezor Hardware support #286

Open chmanie opened 4 years ago

chmanie commented 4 years ago

Payout

Heads up! There's a bounty on this task! Go to https://colony.io/colony/beta/task/5e4565e3cbb233006996c39a learn more!

Description

Issue owner: raul@colony.io

The purser-ledger and purser-trezor packages do not work with current versions of the hardware. The goal is to fix support for both of these devices for message and transaction signing.

It should be possible to take the code from #271 and build on top of it.

This info from #271 might be helpful:

[...] such that the seeded signature values for the transaction to be signed (i.e. r, s and v) are not included. This is because ethereumjs-tx makes validations for EIP-155 that read these values (if present) and compare them with the chain ID, which was leading to validation errors for mainnet transactions.

This issue is regarded complete when: