Skip to Content
ActionsconnectWallet

connectWallet

connectWallet action enables users to establish a connection between their digital wallet and the app, facilitating seamless integration with blockchain-based functionalities, token transfers, and decentralized applications, enhancing user interactions with cryptocurrency-related features.

Properties

PropertyTypeDescription
idstringID allows you to bind to its result. e.g. ${wallet.addresses…},
wcProjectIdstringWallet connect project Id, get it from wallet connect dashboard
onCompleteactionExecute another Action upon successful upload of files
onErroractionExecute an Action when uploader fails with error(s)
appMetaDataobjectsee properties

properties.appMetaData

PropertyTypeDescription
namestringYour app name, that will be shared to crypto wallet
descriptionstringYour app’s description, that will be shared to crypto wallet
urlstringYou app’s / company’s url
iconUrlstringUrl path of your app’s icon

Example

View: title: Crypto wallet body: Column: styles: { padding: 16 } children: - Markdown: text: | ### Build Dapps - Connect to any crypto wallet that support wallect connect v1, check supporting wallet. [Wallet Connect Explorer](https://walletconnect.com/explorer?version=1) - Get wallet connect project id from wallet connect [dashboard](https://cloud.walletconnect.com/sign-in) - Set application descriptions like name, description. - We can connected wallet addresses using `walletRef.addresses`. - Spacer: styles: { size: 12 } - Divider: - Spacer: styles: { size: 12 } - Markdown: text: | # Example - Spacer: styles: { size: 12 } - Button: label: Connect to wallet onTap: connectWallet: id: wallet wcProjectId: 77740b7e86cfcba224464923b8e115e3 appMetaData: name: Ensemeble app description: Ensemble forever url: https://ensembleui.com/ iconUrl: https://ensembleui.com/assets/images/logo.svg onComplete: | //@code address.text = wallet.addresses; - Spacer: styles: { size: 12 } - Markdown: id: address

complete example here 

Last updated on