Add an event listener and subscribe to events for Wallets that are registered and unregistered.
Event type to listen for. register
and
unregister
are the only event types.
Function that will be called when an event of the type is emitted.
off
function which may be called to remove the event listener and unsubscribe from events.
As with all event listeners, be careful to avoid memory leaks.
Register Wallets. This can be used to programmatically wrap non-standard wallets as Standard Wallets.
Apps generally do not need to, and should not, call this.
Rest
...wallets: Wallet[]Wallets to register.
unregister
function which may be called to programmatically unregister the registered Wallets.
Apps generally do not need to, and should not, call this.
API for getting, listening for, and registering "@wallet-standard/base".Wallet | Wallets.