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

How to disconnect from dAPP using javascript? #924

Closed
harniy opened this issue Feb 20, 2024 · 1 comment
Closed

How to disconnect from dAPP using javascript? #924

harniy opened this issue Feb 20, 2024 · 1 comment

Comments

@harniy
Copy link

harniy commented Feb 20, 2024

Hello, please tell me how to disconnect the wallet from the client side? In my application I made a connect button and the wallet connected perfectly, but how can I disconnect when clicked? I didn't find the disconnect method. thanks for the help

@rhyslbw
Copy link
Member

rhyslbw commented Feb 20, 2024

Nami implements CIP-30. "Disconnecting" is achieved by simply discarding the API object returned from the .enable method.

@rhyslbw rhyslbw closed this as completed Feb 20, 2024
@input-output-hk input-output-hk deleted a comment from github-actions bot Feb 21, 2024
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