Comment on page
Crypto.com DeFi Desktop Wallet integration
Crypto.com DeFi Desktop Wallet supports staking operations, validator selections, and governance voting. Users can also view, send and mint NFTs directly, and much more from the Desktop Wallet. It provides a simple and secure way for users to connect their Desktop Wallet with Ethereum-compatible DApps via DApp Browser.
- For DApp builders, integrating with Desktop Wallet allows them to offer a streamlined user experience to the users, as well as encourage increased adoption and usage.
- For users, this means that they can connect to DApps simply by clicking the DApp's logo or type in the DApp's URL, they can also bookmark their favorite DApps. The user experience is familiar for those who are already using DApps in the browser. It also supports Ledger out of the box.
The Desktop Wallet currently supports the following networks:
Mainnet
Testnet
- Cronos Mainnet
- Crypto.org Chain
- Cronos Testnet
- Croeseid Testnet
Integrations with additional chains are planned for the near future.
The DApp Browsers in Desktop Wallet works the same way as MetaMask does: it injects the global
ethereum
object into the DApp's window
object. It has implemented the essential Ethereum Provider API most DApps use, which means that if your DApp can work with MetaMask, it can also work with the Desktop Wallet.
Although the Desktop Wallet works the same way as MetaMask, users can click the MetaMask's button to connect to the DApp, it would be better to add a button to the wallet options to make it more intuitive for users to connect their Desktop Wallet with DApps.
The DApp Browser's user agent contains
Desktop Wallet
, so you can check the user agent when user clicks the button to provide a more user-friendly experience within or out of the Desktop Wallet,desktopWalletButton.on("click", () => {
if (navigator.userAgent.includes("Desktop Wallet")) {
// within Desktop Wallet's DappBrowser, connect wallet
} else {
// jump to download Desktop Wallet page
window.open("https://crypto.com/defi-wallet");
}
});
Last modified 11mo ago