Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Trezor hardware wallet #538

Merged
merged 5 commits into from
Jul 13, 2021
Merged

Add Trezor hardware wallet #538

merged 5 commits into from
Jul 13, 2021

Conversation

quietbits
Copy link
Contributor

image

@quietbits quietbits requested a review from piyalbasu July 7, 2021 18:51
@stellar-jenkins
Copy link

/**
* Transforms StellarSdk.Transaction to TrezorConnect.StellarTransaction
*/
export const transformTransaction = (path, transaction) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be helpful to call this trezorTransformTransaction so when you call this in transactionSigner it's clear that this is specifically for Trezor

return "createPassiveOffer";
case "manageSellOffer":
// case 'manageBuyOffer':
return "manageOffer";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of scope for this PR, but we should implement an enum here during the Lab refactor

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could refactor this but it might be better to keep it as close to the original created by Trezor as possible. Just in case there are updates. Aside from added types and some minor adjustments, it's pretty close to the original.

@stellar-jenkins
Copy link

@stellar-jenkins
Copy link

Preview is available here:
http://laboratory-pr538.previews.kube001.services.stellar-ops.com/

@shanzzam
Copy link

@quietbits Testing pass SUCCESS. Ready to merge.

@quietbits quietbits merged commit b4f8ae3 into master Jul 13, 2021
@quietbits quietbits deleted the il-trezor branch August 19, 2021 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants