wallet-core
wallet-core copied to clipboard
[Everscale] when i use same publicKey, i got different everScale address. is there have some problem?
public key hex: 5c6479f2997317622f8ce1efae8e7d5d448aa60b5bede2d70ce20e781032f571 trust wallet core address: 0:f70e57671468d1c3123a8baeb007d3d483226c99a6f087c6c59053ae3565b298 everscale wallet: 0:c04a3b76473ae6a33df68a63f41099362062c66893e0064592f14e76656f6b7c
is there have some problem?
Hi @weixuefeng, thanks, I'll have a look at this tomorrow
step:
- create wallet with everwallet.
- export public key from everwallet
- generate address with wallet-core.
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
Leave the issue open in order to keep tracked the difference in Everscale address generation. @weixuefeng thank you for the note!