tari-project / tari-dan

BSD 3-Clause "New" or "Revised" License
7 stars 18 forks source link

feat: Use standard key derivation for metamask and key hardware #1102

Open stringhandler opened 3 months ago

stringhandler commented 3 months ago

Problem

Miguel: Switch key derivation in second layer to use BIP-44 instead of aezeed? Easier integration (metamask snap wallets would be interchangeable with wallet daemon) but we need to figure out layer1-to-layer2 integration

Proposal 1:

Discuss further. Using the same seed phrase standard as metamask for L2 makes sense to me. Since L1 and L2 wallets are independent there shouldn't be any issues with using a different scheme.

https://crates.io/crates/bip39 https://crates.io/crates/tiny-hderive

stringhandler commented 3 months ago

Yeah, I second this. I don't think we need to use Aezeed. It makes integration much harder