Yeah, requestProvider() is supposed to be called when a user e.g. clicks a connect button:

> If one is not available, the Bitcoin connect modal will be launched. This should be called on a user interaction to avoid the modal unexpectedly being shown to the user.

The onConnected event will be raised whenever a user connects for the first time (or connected before and reloads the page). If you want to e.g. display the balance that's the way to do it 👍

Reply to this note

Please Login to reply.

Discussion

No replies yet.