Why Nostr? What is Njump?
2025-04-01 08:18:25
in reply to

René Aaron on Nostr: Yeah, requestProvider() is supposed to be called when a user e.g. clicks a connect ...

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 👍
Author Public Key
npub1e5tfhk8m65teu25dfx8lcvwn4c8ypqjl72u2sh4rt8zy2kss0j5qct7mh9