feat(hd_wallet): evm hd wallet and trezor#1979
feat(hd_wallet): evm hd wallet and trezor#1979shamardy merged 140 commits intohd-account-balancefrom
Conversation
412ec5e to
bd5cfd4
Compare
artemii235
left a comment
There was a problem hiding this comment.
Great work!
It seems that few traits can be removed, which will hopefully make code simpler 🙂
|
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.
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.
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. |
…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.