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 cli support for new bip44 coin type #364

Merged
merged 3 commits into from
Feb 13, 2020

Conversation

rhuairahrighairidh
Copy link
Member

@rhuairahrighairidh rhuairahrighairidh commented Feb 7, 2020

Changes: cli defaults to the new coin type, and adds support for the old through a flag --legacy-hd-path.

Turns out only the keys add cmd needed changing, since once you've added a key all the information (the bip44) is stored with it so other cmds don't need access to the global coin type var.

This code monkey patches the sdk code which is kind of janky. For cdp mainnet we could rewrite the sdk keys cmd since it's not great to begin with.

Hold off merge until I've written some docs.

@rhuairahrighairidh rhuairahrighairidh marked this pull request as ready for review February 7, 2020 18:52
Copy link
Member

@karzak karzak left a comment

Choose a reason for hiding this comment

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

tested ACK. Changes and comments look good.

@rhuairahrighairidh rhuairahrighairidh merged commit bc5826c into master Feb 13, 2020
denalimarsh pushed a commit that referenced this pull request Apr 3, 2020
* first attempt

* refactor, add tests

* update comments
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.

2 participants