wallet-core icon indicating copy to clipboard operation
wallet-core copied to clipboard

[Everscale] when i use same publicKey, i got different everScale address. is there have some problem?

Open weixuefeng opened this issue 1 year ago • 4 comments
trafficstars

public key hex: 5c6479f2997317622f8ce1efae8e7d5d448aa60b5bede2d70ce20e781032f571 trust wallet core address: 0:f70e57671468d1c3123a8baeb007d3d483226c99a6f087c6c59053ae3565b298 everscale wallet: 0:c04a3b76473ae6a33df68a63f41099362062c66893e0064592f14e76656f6b7c

is there have some problem?

weixuefeng avatar Mar 20 '24 08:03 weixuefeng

Hi @weixuefeng, thanks, I'll have a look at this tomorrow

satoshiotomakan avatar Mar 20 '24 17:03 satoshiotomakan

step:

  • create wallet with everwallet.
  • export public key from everwallet
  • generate address with wallet-core.

weixuefeng avatar Mar 21 '24 02:03 weixuefeng

Hi @weixuefeng, sorry for the late answer As I can see, the address can be different probably because of the difference in Wallet::get_init_data. In WalletCore, we follow the V3R2 wallet scheme. So for example, if you change TON's standard WALLET_ID from 698983191 to 0x4BA92D8A, you'll get the same 0:f70e57671468d1c3123a8baeb007d3d483226c99a6f087c6c59053ae3565b298 address.

At the moment, we do not plan to change Everscale address scheme or WALLET_ID

satoshiotomakan avatar Mar 28 '24 09:03 satoshiotomakan

Leave the issue open in order to keep tracked the difference in Everscale address generation. @weixuefeng thank you for the note!

satoshiotomakan avatar Mar 28 '24 09:03 satoshiotomakan