Link to the plugin page: https://zeroqode.com/plugin/walletconnect---all-crypto-wallets-plugin-for-bubble-1650879822638x559516728046026500
Demo to preview the settings
Introduction
WalletConnect is an open protocol to communicate securely between Wallets and Dapps (Web3 Apps). The protocol establishes a remote connection between two apps and/or devices using a Bridge server to relay payloads. These payloads are symmetrically encrypted through a shared key between the two peers.
The connection is initiated by one peer displaying a QR Code or deep link with a standard WalletConnect URI and is established when the counter-party approves this connection request.
It also includes an optional Push server to allow Native applications to notify the user of incoming payloads for established connections.
The plugin helps you to connect your existing wallet to the Web3 Apps in order to send transactions in the currently opened sessions.
How to set up
To create your wallet connect project and connect it to plugin, you need to complete a simple registration at - https://cloud.walletconnect.com/sign-up.
Next, you need to create a project - https://cloud.walletconnect.com/app
To create a project you need to insert: Name, Type, URL
Next, we copy the Project id
Next, place the plugin element βWallet Connect 2.0β on the page in order to use all possible actions and insert all the values.
All done, our element is set up!
Plugin Elements
Wallet Connect 2.0
This element works with version v2.
WalletConnect v2.0 isΒ NOTΒ backwards-compatible with v1.0. WalletConnect v1.0 and v2.0 offer essentially the same end-user experience, however they work very differently internally.
WalletConnect v1.0 has now been shut down.
Plugin Element Properties
Fields:
Name | Description | Type |
Project ID | Your Project ID gives you access to WalletConnect Cloud. | Text |
Name | The name of your project | Text |
Description | A short description explaining your dapp/wallet | Text |
URL | Metadata. A link to your application | Text |
Logo | Metadata. Image of your application | image |
themeMode | Modal theme. Can be light or dark | Dropdown |
enableExplorer | if false, the modal will be smaller | Yes/No |
Element Actions
Connect 2.0
eth_sendTransaction
eth_signTransaction
eth_sendRawTransaction (doesn't work everywhere)
Disconnect
personal_sign
eth_sign
eth_signTypedData
Clear all sessions
Exposed states
Name | Description | Type |
Sign Transaction Hash | Hash a signed transaction using the "eth_signTransaction" action | Text |
Send Transaction Hash | Hash a signed transaction using the "eth_sendTransaction" action | Text |
sendRawTransaction Hash | Hash a signed transaction using the "eth_sendRawTransaction" action | Text |
Connected To | Π‘onnected wallet name. Example: Metamask | Text |
Chain ID | Π‘onnected chain id. Example: eip155:1 | Text |
Address ID | Π‘onnected Adress ID. | Text |
Personal sign hash | Signature hash, action result: personal_sign Example: 0x2d6d5dcdβ¦β¦. | Text |
Eth sign hash | Signature hash, action result: eth_sign Example: 0x2d6d5dcdβ¦β¦. | Text |
Eth signTypedData hash | Signature hash, action result: eth_signTypedData Example: 0x2d6d5dcdβ¦β¦. | Text |
Error | Error occurring in any action | Text |
Element Events
Title | Description |
Disconnected | Triggered when the user is disconnected. |
Connected | Triggered when the user is connected. |
Updated | Triggered when the session update |
Modal closed | Triggered when the modal was closed |
Sign transaction success | Triggered when signing a transaction has been committed. |
Sign transaction error | Triggered when signing a transaction has been rejected. |
Send transaction success | Triggered when a transaction has been committed. |
Send transaction error | Triggered when a transaction has been rejected. |
sendRawTransaction success | Triggered when a Raw Transaction has been committed. |
sendRawtransaction error | Triggered when a Raw Transaction has been rejected. |
Init | Triggered when the wallet connect was loaded |
Personal sign success | Triggered when signing personal message has been committed. |
Personal sign error | Triggered when signing personal message has rejected. |
eth sign success | Triggered when signing message has been committed. |
eth sign error | Triggered when signing message has rejected. |
eth_signTypedData success | Triggered when eth_signTypedData has been committed. |
eth_signTypedData error | Triggered when eth_signTypedData has rejected. |
Changelogs
Update: 16.11.22 - Version (1.4.0)
- Added disconnect action.
Update: 28.06.23 - Version (1.12.0)
- Fixed βeth_signTypedDataβ and βeth_signTransactionβ actions in the βWallet Connect 2.0β element.
Update: 12.09.23 - Version (1.15.0)
- Minore updates.
Update: 16.10.23 - Version (1.17.0)
- Migrated the plugin editor to Version 4.
Update: 15.11.23 - Version (1.19.0)
- Updated the element βWallet Connect 2.0β.
Update: 04.03.24 - Version (1.21.0)
- Removed "wallet connect" element.