Celo Tech Talks Part 16 - Porting existing Ethereum DApps onto Celo


Judy Piper, an engineering leader at C Labs, hosts the Celo Tech Talks, a series aimed at sharing knowledge about Celo technology with the community. The mission of Celo is to build a mobile-first blockchain platform that creates financial prosperity for everyone. The session welcomes participants to introduce themselves and share their learning goals.

Overview of the Speaker and Topic

Barbara Liao, the developer experience engineering team leader at C Labs, is back to demonstrate how to port existing Ethereum DApps onto the Celo blockchain. She briefly introduces herself and mentions her experience working with different chains in the crypto ecosystem. Barbara shares a photo of her dogs and expresses her excitement to cover this highly requested topic.

Benefits of Using Celo

Barbara explains the benefits of using Celo, such as lower transaction costs compared to traditional banking methods. She emphasizes the importance of stable assets and the ability to pay in different currencies. Celo also simplifies transactions by mapping complicated hex addresses to phone numbers. Additionally, confirmation times on Celo are significantly faster, allowing for quick and seamless payments.

Similarities and Differences between Ethereum and Celo

Barbara highlights the similarities between Ethereum and Celo in terms of smart contracts and crypto wallets. However, she mentions that the connection between the two networks needs to be addressed when porting DApps from Ethereum to Celo. She introduces ContractKit and DAppKit as tools for this purpose.

Porting Smart Contracts to Celo

Barbara explains the process of porting smart contracts to Celo. It involves setting up the network and provider, installing ContractKit, and making necessary modifications to the existing code. She assures the audience that the process is relatively straightforward and provides examples and resources for reference.

Updating Client-side Code

Barbara discusses the differences in client-side code between Ethereum and Celo. She explains the new properties introduced in Celo transactions and the importance of using the ContractKit’s instance of web3. She advises developers to update their code and provides a quick overview of the necessary changes.

User Interface Considerations

Barbara explains that the choice of user interface framework will influence the wallet connection for interacting with Celo. She mentions that popular options like MetaMask for Ethereum can be used, but frameworks specific to Celo are also available. She shares an example of a mobile DApp flow using DAppKit and Velora.

Conclusion and Resources

Barbara concludes the talk by emphasizing the importance of community feedback and provides various ways to connect with the Celo team, including Twitter, documentation, and GitHub. She invites the audience to attend upcoming events and announces the Q&A session.

Overall, the talk focuses on the process of porting Ethereum DApps to Celo, highlighting the benefits of using Celo and providing practical guidance and resources for developers to make the transition successfully.