wallet_standard_browser/constants.rs
1/// Event that will be dispatched by the app on the `window` when the app is
2/// ready to register {@link Wallet | Wallets}.
3///
4/// Wallets must listen for this event, and {@link
5/// WindowAppReadyEventAPI.register register} themselves when the event is
6/// dispatched.
7pub const APP_READY_EVENT: &str = "wallet-standard:app-ready";
8
9/// Event that will be dispatched on the `window` by each {@link Wallet |
10/// Wallet} when the Wallet is ready to be registered by the app.
11///
12/// The app must listen for this event, and register Wallets when the event is
13/// dispatched.
14pub const REGISTER_WALLET_EVENT: &str = "wallet-standard:register-wallet";