mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-24 07:29:41 +00:00
ba34af0dd4
master key When creating the account we store as well the path specified in eip1581 https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1581.md , `m / 43' / 60' / 1581'`. The reason for doing so is that eventually we might want to derive an encryption key from it, which would require the user to re-enter their seed phrase if we would not store this. This commit changes the behavior not to store the master key, and instead store `m /44'/60' /0'/0`, from which wallets are now derived. Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>