aptos-labs/petra-wallet

Generation of addresses from private keys

Closed this issue · 4 comments

I see a very unpleasant problem.
When importing the ETH private key into the Petra wallet, I get a completely different address in it.
What do you need to do to get access to an address similar to the ETH blockchain using the available private key?

@PROrector chains have separate derivations based on various circumstances. There is no guarantee that you can use the same address across chains that use different formats.

I already understood this perfectly when iancoleman utility could not decompose the mnemonic how it works with all BIP39 phrases. I assume that the point is not in derivations based, but in native applications that generate wallet addresses in their own way, and not according to the rules.

So yes, the bip44 path is different but the other problem you will run into is that Aptos uses Ed25519 which is not the same as ethereum's elliptic curve.

This would be the same problem you run into with going between solana and ethereum.

what method of getting private key from apt address identical to evm address do you recommend?