You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I truly need an explanation.
same mnemonic gave different wallet address on myTonWallet (https://mytonwallet.io/) and this SDk.
I have used same mnemonic here:
let wallet = WalletContractV4.create({ workchain, publicKey: keyPair.publicKey });
console.log(wallet.address);
this address I get is: EQCpWkFHCsBCBsmSchzF23Uq0tIA1_RtvVkqUiKys7cMa4tV
converted to non-bounce is: UQCpWkFHCsBCBsmSchzF23Uq0tIA1_RtvVkqUiKys7cMa9aQ
but the same mnemonic gave wallet on myTonWallet: UQCY5izJWx2NxdZub41y9JUWE2MXDHVxW_PPU4u38h96uBL4
all these look strange as I wish to programmatically get the balance of my Ton Wallet address and it return 0 even though funded.
can someone explain this?
The text was updated successfully, but these errors were encountered:
In ton blockchain all wallets are in the form of smart contracts so you have to make instance of wallet V5 instead of V4 to get address of w5 version .
I truly need an explanation.
same mnemonic gave different wallet address on myTonWallet (https://mytonwallet.io/) and this SDk.
I have used same mnemonic here:
this address I get is:
EQCpWkFHCsBCBsmSchzF23Uq0tIA1_RtvVkqUiKys7cMa4tV
converted to non-bounce is:
UQCpWkFHCsBCBsmSchzF23Uq0tIA1_RtvVkqUiKys7cMa9aQ
but the same mnemonic gave wallet on myTonWallet:
UQCY5izJWx2NxdZub41y9JUWE2MXDHVxW_PPU4u38h96uBL4
all these look strange as I wish to programmatically get the balance of my Ton Wallet address and it return 0 even though funded.
can someone explain this?
The text was updated successfully, but these errors were encountered: