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

Retrieve Ethereum address from ENS domain using WalletConnect #1428

Open
ShengXiuyan opened this issue Jul 4, 2024 · 0 comments
Open

Retrieve Ethereum address from ENS domain using WalletConnect #1428

ShengXiuyan opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ShengXiuyan
Copy link

Hello, I am using the WalletConnect library in my project. I have a question regarding the functionality related to Ethereum ENS domains.

I would like to know if it is possible to use the functionality of the WalletConnect library to obtain a regular Ethereum address (in the “0x...” format) from an ENS domain? I noticed that the library includes the web3 library. To avoid duplicating web3 imports in my project, I would like to use WalletConnect’s functionality for working with ENS domains.

The WalletConnect documentation mentioned handling ENS domains (link). Could you possibly provide a code sample and some explanations regarding this?

Currently, I am using the following version of the library:

implementation(platform("com.walletconnect:android-bom:1.32.1"))
implementation("com.walletconnect:android-core")
implementation("com.walletconnect:sign")

Thank you in advance for your help.

Best regards,
Sheng Xiuyan

@ShengXiuyan ShengXiuyan added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant