WalletConnect v2.0 - WalletConnect - GitBook

WalletConnect is an open protocol to communicate securely between Dapps and Wallets. Learn how to get started, use the protocol, and access the API references for Client and …

Drawing

What is WalletConnect? WalletConnect is an open source protocol that allows you to connect your crypto wallet to decentralized applications (DApps) on the web. If you are using a self-custodial web3 crypto wallet, like the Bitcoin.com Wallet app , you can use your wallet to interact with DApps without having to grant access to your private keys. For example, let's say you have ETH in your Bitcoin.com Wallet and you want to use a Decentralized Finance (DeFi) application on Ethereum called "ABC Finance" that enables to you to lend your ETH in return for programmatic interest payments. WalletConnect establishes a secure connection between your Bitcoin.com Wallet and ABC Finance, allowing ABC Finance to see the contents of your Ethereum Wallet. Then you'll have the option to, for example, send ETH from your Bitcoin.com Wallet to ABC Finance's lending smart contract. When you've decided how much ETH to send, your Bitcoin.com Wallet will ask you to approve the request. How do you connect to DApps using WalletConnect? Continuing with our example, from "ABC Finance's" website or app, you'll first select the Connect button. This typically brings up a list of connection options, one of which will be WalletConnect. Select WalletConnect and, if you're on mobile, choose the Bitcoin.com Wallet from the list of wallets to connect to. If you're on desktop you'll be presented with a QR code which you can scan using the Bitcoin.com Wallet's scan function. In both cases, the Bitcoin.com Wallet will ask you to approve the connection before proceeding. Is WalletConnect safe? It's safe in the sense that it establishes a secure (encrypted) connection, with your approval, between your Bitcoin.com Wallet and the DApps of your choosing. It also requests your approval for any transactions and never gives DApps access to your private keys. In other words, when you connect to a DApp via WalletConnect, it's impossible for the funds in your wallet to be spent without your approval.

Last updated