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

Feature/feat eth2 #36

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Feature/feat eth2 #36

wants to merge 5 commits into from

Conversation

xiaoguang1010
Copy link
Collaborator

add eth2 messaeg sign and get public key feature

@@ -41,6 +42,7 @@ pub const NERVOS_PATH: &str = "m/44'/309'/0'/0/0";
pub const POLKADOT_PATH: &str = "m/44'/354'/0'/0'/0'";
pub const KUSAMA_PATH: &str = "m/44'/434'/0'/0'/0'";
pub const TRON_PATH: &str = "m/44'/195'/0'/0/0";
pub const ETH2_PATH: &str = "m/12381/3600/0/0";
Copy link
Collaborator

Choose a reason for hiding this comment

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

确定前面的path不是harden 的是吧

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

可以看看https://eips.ethereum.org/EIPS/eip-2333 目前来看这个派生方案和bip32是不兼容的

wallet/coin-ethereum2/src/transaction.rs Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants