-
Notifications
You must be signed in to change notification settings - Fork 112
feat(hd_wallet): evm hd wallet and trezor #1979
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
Conversation
412ec5e to
bd5cfd4
Compare
artemii235
left a comment
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.
Great work!
It seems that few traits can be removed, which will hopefully make code simpler 🙂
artemii235
left a comment
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.
Few minor notes 🙂
artemii235
left a comment
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.
👍
|
Thanks you for the review @artemii235, I will continue working through this list #1979 (comment) in this sprint by adding new commits to this PR, so next review in a few weeks should be for commits after this comment only to make it easier to review :) |
…_addresses rpcs for evm
…refactor some swap methods to be async
| .collect() | ||
| } | ||
|
|
||
| // Todo: combine both implementations once worker threads are supported in WASM |
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.
Could you remind me please, as far as I remember we added worker support in wasm, right?
Do we need something else for this todo?
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.
Workers need to be supported from the GUI side as well by adding a worker file for this and implementing any needed code in the worker file if there is any.
…vationMethod` and implement a default implementation for it * Remove `my_addresses` from `utxo_tx_history_v2_common.rs` and use `all_addresses` in place of it
…WithTokensError::Internal` error
|
@onur-ozkan just need you to check this change #1979 (comment) and if it's alright by you. |
laruh
left a comment
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.
LGTM! 🔥
dimxy
left a comment
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.
LGTM
…to `ERC20DEV` conf
* Add address_formatter higher-order function to HDWalletCoinOps to display eth addresses correctly * add enable_eth_with_tokens_v2 test helper * fix test_enable_eth_erc20_coins_with_enable_hd * fix test_withdraw_and_send_hd_eth_erc20
* remove `wasm_test_withdraw_eth` and `test_send` since they use `ETH_DEV_NODE` # ignore `swap_usdc_ibc_with_nimda` since it needs periodical funding
…he address was funded
…see if that fixes things
…ts can still be unstable
Part of #1838
This is an in progress PR:
HDWalletderivation toEthCoin.HDWalletCoinOps,HDWalletBalanceOps, etc.. forEthCoin.init_platform_coin_with_tokensusing task manager forEthCoin.init_tokenusing task manager.Changes:
chain_idis needed for all evm coins/tokens.chain_idshould be part of platform coin config only actually and retrieved from platform coin, this is for v2 methods, but we should keep it in all coins config for v1 methods.