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

Modify HD wallet path based on BIP-44 on Mycelo #1904

Closed

Conversation

hiromaily
Copy link

Signed-off-by: Hiroki Yasui hiroki.yasui@datachain.jp

Description

This PR is for #1903

For now, HD wallet derivation path is not based on BIP-44 in mycelo. This difference makes key synchronization among other libraries difficult. Proper path must be like m / purpose' / coin_type' / account' / change / address_index. This is specification.
e.g. "m/44'/60'/0'/0/0" is correct, but current"m/1/0" is not. mycelo code

For example, developer account keys are generated after running geth nodes with specific mnemonic through mycelo. Then I want to deploy contracts onto celo geth nodes. However it's difficult to generate same address with mnemonic using other libraries like @truffle/hdwallet-provider in truffle-config.json

I made sure same addresses are generated between mycelo and @truffle/hdwallet-provider using the same MNEMONIC.

Related issues

Signed-off-by: Hiroki Yasui <hiroki.yasui@datachain.jp>
@hiromaily hiromaily requested a review from a team as a code owner May 24, 2022 09:24
@hiromaily hiromaily requested review from piersy and 37ng and removed request for a team May 24, 2022 09:24
@hiromaily hiromaily changed the title fix hd wallet path based on bit44 Modify hd wallet path based on bit44 May 25, 2022
@hiromaily hiromaily changed the title Modify hd wallet path based on bit44 Modify HD wallet path based on bit44 May 25, 2022
@hiromaily hiromaily changed the title Modify HD wallet path based on bit44 Modify HD wallet path based on BIP-44 May 25, 2022
@hiromaily hiromaily changed the title Modify HD wallet path based on BIP-44 Modify HD wallet path based on BIP-44 on Mycelo May 27, 2022
@palango
Copy link
Contributor

palango commented Aug 28, 2023

Closing this as we don't plan to include this in the short term.

@palango palango closed this Aug 28, 2023
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.

BIP-44 based HD wallet in mycelo
2 participants