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

request: Add a CheckConnection method #525

Open
RezaRahemtola opened this issue Jun 27, 2024 · 0 comments
Open

request: Add a CheckConnection method #525

RezaRahemtola opened this issue Jun 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RezaRahemtola
Copy link

While integrating Adena in my project, I thought that it could be great to have an "autoconnect" feature just like in Ethereum with wagmi.

Currently I have no way of implementing this, as it's the AddEstablish method that returns a type of ALREADY_CONNECTED, but calling this will prompt the user to connect his wallet if it isn't connected.

Having a method for this would be great, for example CheckConnection that would not prompt the user to establish a connection but simply return the status (so if it's already connected, the frontend can fetch the account information to auto connect the user, else wait for the user to click a button in the UI).

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

No branches or pull requests

2 participants