1

How do I connect my cardano website (dapp) with cardano mobile wallet. currently, I am using yoroi-frontend for desktop browsers.

2
  • You will be more likely to get answers if you follow the guidelines in How to Ask
    – gRebel
    Mar 18, 2022 at 3:40
  • @gRebel Thanks a lot!
    – Tahzeeb
    Mar 18, 2022 at 7:12

1 Answer 1

2

Look in the window object for window.cardano and then look for the property yoroi and then you can interact with the public API.

To enable the wallet use window.cardano.yoroi.enable(). This will return an object with the endpoints to interact with the wallet or will fail if the user does not allow to read the wallet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.