Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different wallet address V4R2 #268

Open
iw4p opened this issue Oct 25, 2024 · 1 comment
Open

Different wallet address V4R2 #268

iw4p opened this issue Oct 25, 2024 · 1 comment

Comments

@iw4p
Copy link
Contributor

iw4p commented Oct 25, 2024

Hi, I am using w, err := wallet.FromSeed(api, words, version) for getting the wallet address. V4R2 is what I need and by using code I am getting an address started with EQ.... but when I am using V4R2 TonKeeper, It always start with UQ...
I am not able to replace EQ with UQ because the middle of address is the same but the end of address is not the same.
Like tonutils gives me EQTTTTTTTTTTTTTXYZ and TonKeeper gives me UQTTTTTTTTTTTTTABC.
What is the solution to get V4R2 address like TonKeeper which's valid for tonviewer?

@xssnick
Copy link
Owner

xssnick commented Oct 25, 2024

Hi, it is different form of the same address, UQ - not bounceable , EQ - bouncable, you can change this form in address type: addr.Bounce(false).String() will give you UQ form.

It looks like you are using deprecated Address() method of wallet type, it has WalletAddress() which will return you UQ form

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy