Could you help confirm if Temple wallet
returns the same pkh
as Kukai?
In advanced options in Kukai
, there is the ability to select HD wallet
or legacy wallet
.
Could you confirm that the key you are looking for is a tz1...
?
I have just checked a test mnemonic that I have on all 3 Kukai, Temple, InMemorySigner.fromMnemonic and was able to recreate the pkh
in all 3
If you are trying to get the same curve
and derivation path
account, then there should be no problem with the InMemorySigner.fromMnemonic
to recreate it.
I found that some mnemonics are not encodable for one (possibly more, but I have yet to see any) of the curve derivation requirements.
Could you share some code of where the result is going wrong to understand better what may be happening?
Post-added code, for illustrative purposes:
const params =
{
mnemonic: "[my 24 word mnemonic]",
password: "[myPassphrase]"
}
const TezosNative = new TezosToolkit(this.configuredRpcProvider);
const signer = InMemorySigner.fromMnemonic(params);
TezosNative.setSignerProvider(signer);
await TezosNative.signer.publicKeyHash()
.then((publicKeyHash) => {
console.log(publicKeyHash);
});
This returns me : tz1UYo2sTAE5pEs6SeCT9wg3FrxcxDcoHc1k
Kukai and Temple returns me : tz1W4Vs3VEw87yVMHY9QTH738NDWYNTqmwGR
With same 24 mnemonic words and passphrase.