No estan aun los enlaces a los recursos
Introducci贸n
Conoce la red de Celo
驴Por qu茅 Celo?
Entendiendo la EVM
Herramientas
Desarrollando para la EVM
Transacciones
Herramientas de Solidity
Estructura del Smart Contract
Loops y condicionales
Tipo dato "Address"
Atributo payable
Retiros y control de permisos
Modificadores
Herencia
Scaffold del contrato
Registro y gesti贸n de direcciones
Interactuando con la Blockchain de Celo
Instalando en una testnet
Desplegando con Hardhat
Interactuando con Smart Contracts
Uso del contractKit para integrar la interfaz gr谩fica
Uso de WalletConnect
Desplegando el contrato en la testnet Alfajores
Usando el ContractKit para integrar la resoluci贸n arbitral
Nuestra interfaz de pago con WalletConnect
Sigue practicando
Crea un mejor futuro con Celo
You don't have access to this class
Keep learning! Join and start boosting your career
Currently, many users prefer to use mobile wallets to manage their cryptocurrencies. These wallets are more convenient and natural to use, as they allow you to hold your cryptos directly on your phone. Valora is one of the mobile wallets facilitated by the Celo ecosystem, which allows for a more user-friendly interaction with smart contracts, payments, and transfers. To achieve this integration, it is critical to connect our apps and contracts with mobile wallets using key tools such as Wallet Connect and Contract Kit.
The Wallet Connect integration facilitates the interaction between applications and mobile wallets. The first step is to make sure you have Wallet Connect installed. There is an instruction file in the course code repository that will guide you through the necessary adaptations based on your operating system and version of Node.
Once Wallet Connect is installed, the Wallet Connect Provider reference must be incorporated in the application's React file. This reference is essential to configure the provider. Subsequently, you must use a function that configures this provider each time a user clicks on a button. Such a function facilitates the connection of the application with the Forno network or the Alfajores network, depending on the user's selection in his wallet.
The next step is to call the Provider Enable
method, which displays a QR code on the screen. The user can scan this code, obtaining authorization to perform certain actions. For example, you will be able to make transfers from Zerogold to a predefined wallet in the application. This authorization is obtained thanks to the fact that the transaction is performed with test cryptocurrencies, avoiding the use of real cryptos.
After establishing the connection using the QR code, it is possible to execute transactions from the mobile wallet.
The execution of a transaction is validated when the balance reflects the transfer in the corresponding wallet.
The integration of smart contracts with mobile wallets results in an enhanced user experience:
This advance is essential for the development of decentralized applications on the Redset. Developers who implement these features will offer added value to their users, encouraging wider adoption of cryptocurrencies. If you've made it this far, you're ready to apply these skills to your projects and continue exploring the power of mobile wallets in blockchain technology. Continue cultivating your knowledge in this exciting world!
Contributions 1
Questions 1
No estan aun los enlaces a los recursos
Want to see more contributions, questions and answers from the community?