Skip to content

Feature/feat eth2 - #36

Open
xiaoguang1010 wants to merge 5 commits into
developfrom
feature/feat-eth2
Open

Feature/feat eth2#36
xiaoguang1010 wants to merge 5 commits into
developfrom
feature/feat-eth2

Conversation

@xiaoguang1010

Copy link
Copy Markdown
Collaborator

add eth2 messaeg sign and get public key feature

Comment thread common/src/constants.rs
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
Copy Markdown
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
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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是不兼容的

Comment thread wallet/coin-ethereum2/src/transaction.rs
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