In order to start interacting with the Rise Wallet, an app must first establish a connection.
This connection request will prompt the user for permission to share their address, indicating that they are willing to interact further. Once permission is established for the first time, the web application's domain will be whitelistedfor future connection requests.
Similarly, it is possible to terminate the connection both on the application and the user side.
The window.rise object exposes a connect() function that returns a Promise that resolves to object (defined below) when the user accepts the connection request, and resolves to false when the user declines the request or closes the pop-up.
Once connected to the Rise Wallet extension, window.rise object gets updated and exposes a few convenient properties like isConnected, publicKey, address and authKey