-
Notifications
You must be signed in to change notification settings - Fork 8
Implement Ledger #231
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
Open
nesitor
wants to merge
26
commits into
main
Choose a base branch
from
andres-feature-implement_ledger_wallet
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+449
−163
Open
Implement Ledger #231
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
f099f66
Problem: Ledger wallet users cannot use Aleph to send transactions.
5f0c7b5
Fix: Solved linting and types issues for code quality.
3ef428d
Fix: Solved issue calling Ledger for supervisor.
7be46a8
Fix: Try to not pass the private_key bytes to not sign automatically …
ebf0b38
Fix: Solve enum values issue.
33512f0
Fix: Solve enum values issue again.
0ce04b8
Fix: Specified enum type to serialize.
9b8d8b6
Fix: Solved wrong signing address when a derivation_path is used.
nesitor 3315348
fix: linting issue
1yam 6167e13
fix: remove commented old code for ledger account loading
1yam db87e56
fix: `CHAIN` and `CURVE` on LedgerETHAccount aren't needed
1yam 3a37793
Fix: handle common error using ledger (ledgerError / OsError)
1yam d6ad01a
fix: linting issue
1yam b45932f
fix: re enable use_enum_values for MainConfiguration
1yam c652161
Refactor: AccountType have now imported / hardware, and new field / m…
1yam 36a8dd4
Feature: New HardwareAccount account protocol
1yam 6d2a07b
Refactor: Split logic from ETHAccount to BaseEthAccount,
1yam e723858
Refactor: LedgerETHAccount use BaseEthAccount instead of ETHAccount
1yam a6bfe10
Refactor: superfluid connectors to be compatible either with EthAccou…
1yam ef82a59
Refactor: account.py to be able to handle more Account type than Acco…
1yam 2bc3e9f
Fix: make Account Protocol runtime-checkable to differentiate between…
1yam f08f1c2
fix: rename AccountLike to AccountTypes
1yam ec0039d
fix: ensure provider is set for get_eth_balance
1yam 526962e
fix: on superfluid.py force rpc to be present or raise ValueError
1yam 5cf37ff
fix: allow AccountFromPrivateKey and HardwareAccount to be checkable …
1yam bc04c00
Update src/aleph/sdk/wallets/ledger/ethereum.py
1yam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: should be
AccountTypeas it's either one or the other.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well we have already an AccountType i put AccountTypes since it's 2 accounts Union to don't have 2 time AccountType