Make Any DeFi App Atomically Composable | Viraz Malhotra - Shell Protocol episode artwork

EPISODE · Feb 27, 2024 · 4 MIN

Make Any DeFi App Atomically Composable | Viraz Malhotra - Shell Protocol

from Higher Signal: Get Smarter. Faster. · host Higher Signal

Summary:1. Viraz Malhotra, a smart contract engineer from Shell Protocol, discusses improving user experience (UX) in decentralized finance (DeFi) applications by making them atomically composable.2. Current UX issues in DeFi include multiple transactions required for complex operations, resulting in high gas costs and exposure to miner extractable value (MEV) risks.3. Shell Protocol has created a solution separating the accounting layer and the business logic layer of smart contracts to allow for more modular design and composable operations.4. Their accounting layer, called the Ocean, is an ERC-1155 contract that users interact with, while the business logic layer remains more of a "black box."5. The system allows for complex transactions such as multi NFT swaps or liquidity pool exchanges to be completed in a single, less costly transaction.6. Composable smart contracts increase the approachability of DeFi for retail users by simplifying the UX and reducing the need to understand multiple protocols.7. To achieve this, Shell Protocol developed 'adapters' – middleware smart contracts that facilitate communication between Shell contracts and other DeFi protocols like Uniswap or Curve.8. Users interact with Shell contracts using an array of structs called "interactions," enabling batch operations such as swapping tokens or adding/removing liquidity.9. Interaction structs include encoded interaction types and addresses of business logic contracts or tokens involved.10. The process of executing this system involves locking in a token to receive an ERC-1155 token, performing a desired operation (swap, liquidity addition, etc.), and then unwrapping the ERC-1155 token to receive the final transaction output.Key Questions:- How does the current UX of DeFi dApps deter users?High gas costs, multiple transactions, MEV risks, and complex operations over various platforms challenge users.- How does Shell Protocol aim to improve UX for DeFi dApps?By creating a set of smart contracts that separate accounting and business logic layers, enabling batch operations, and reducing the number of transactions required.- What is the role of the Ocean in Shell Protocol's structure?The Ocean is the ERC-1155 contract acting as the accounting layer that users interact with directly.- How do adapters help in achieving atomic composability?Adapters serve as middleware that communicates between Shell contracts and external DeFi contracts, allowing for complex operations to be performed seamlessly.- How does atomic composability benefit retail users?It simplifies their experience by reducing the need to understand multiple protocols and platforms, allowing them to perform various operations through a single interface.Core Takeaway:The core problem described is the user experience issues in DeFi due to the necessity of multiple complex and costly transactions. If not addressed, users may find DeFi platforms difficult to use and inefficient, which could impede broader adoption.The consequences for not understanding or solving this problem involve a continued barrier for entry into DeFi especially for less technical users, and a potential decrease in DeFi growth due to poor user experiences.To address this problem:1. Differentiate the accounting layer (like The Ocean) from the business logic layer in smart contracts for modularity.2. Implement 'interactions' as an array of structs in smart contracts to allow users to perform batch operations within a single transaction.3. Develop 'adapters' as middleware to facilitate inter-protocol communication, enabling the Shell Protocol to integrate with various external DeFi contracts and offer atomic composability.Tags here: Viraz Malhotra, Shell Protocol, DeFi, atomic composability, smart contracts, ERC-1155, Ocean, Adapters

Episode metadata supplied by the publisher feed · Published Feb 27, 2024

Summary:1. Viraz Malhotra, a smart contract engineer from Shell Protocol, discusses improving user experience (UX) in decentralized finance (DeFi) applications by making them atomically composable.2. Current UX issues in DeFi include multiple transactions required for complex operations, resulting in high gas costs and exposure to miner extractable value (MEV) risks.3. Shell Protocol has created a solution separating the accounting layer and the business logic layer of smart contracts to allow for more modular design and composable operations.4. Their accounting layer, called the Ocean, is an ERC-1155 contract that users interact with, while the business logic layer remains more of a "black box."5. The system allows for complex transactions such as multi NFT swaps or liquidity pool exchanges to be completed in a single, less costly transaction.6. Composable smart contracts increase the approachability of DeFi for retail users by simplifying the UX and reducing the need to understand multiple protocols.7. To achieve this, Shell Protocol developed 'adapters' – middleware smart contracts that facilitate communication between Shell contracts and other DeFi protocols like Uniswap or Curve.8. Users interact with Shell contracts using an array of structs called "interactions," enabling batch operations such as swapping tokens or adding/removing liquidity.9. Interaction structs include encoded interaction types and addresses of business logic contracts or tokens involved.10. The process of executing this system involves locking in a token to receive an ERC-1155 token, performing a desired operation (swap, liquidity addition, etc.), and then unwrapping the ERC-1155 token to receive the final transaction output.Key Questions:- How does the current UX of DeFi dApps deter users?High gas costs, multiple transactions, MEV risks, and complex operations over various platforms challenge users.- How does Shell Protocol aim to improve UX for DeFi dApps?By creating a set of smart contracts that separate accounting and business logic layers, enabling batch operations, and reducing the number of transactions required.- What is the role of the Ocean in Shell Protocol's structure?The Ocean is the ERC-1155 contract acting as the accounting layer that users interact with directly.- How do adapters help in achieving atomic composability?Adapters serve as middleware that communicates between Shell contracts and external DeFi contracts, allowing for complex operations to be performed seamlessly.- How does atomic composability benefit retail users?It simplifies their experience by reducing the need to understand multiple protocols and platforms, allowing them to perform various operations through a single interface.Core Takeaway:The core problem described is the user experience issues in DeFi due to the necessity of multiple complex and costly transactions. If not addressed, users may find DeFi platforms difficult to use and inefficient, which could impede broader adoption.The consequences for not understanding or solving this problem involve a continued barrier for entry into DeFi especially for less technical users, and a potential decrease in DeFi growth due to poor user experiences.To address this problem:1. Differentiate the accounting layer (like The Ocean) from the business logic layer in smart contracts for modularity.2. Implement 'interactions' as an array of structs in smart contracts to allow users to perform batch operations within a single transaction.3. Develop 'adapters' as middleware to facilitate inter-protocol communication, enabling the Shell Protocol to integrate with various external DeFi contracts and offer atomic composability.Tags here: Viraz Malhotra, Shell Protocol, DeFi, atomic composability, smart...

PodParley-generated summary based on available episode metadata and transcript content.

NOW PLAYING

Make Any DeFi App Atomically Composable | Viraz Malhotra - Shell Protocol

0:00 4:31

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

French Your Way Jessica: Native French teacher founder of French Your Way Boost your French listening skills and test your comprehension with this one of a kind series of podcasts. Get the chance to listen to a real conversation between native speakers talking at normal speed AND customise your learning experience through carefully designed sets of questions (2 levels of difficulty) available for download at www.frenchvoicespodcast.com. All interviews also come with the transcript. French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? PodSights Health & Wellness podsights.ai Transform your wellbeing journey. Get trusted, evidence-based answers to your health, fitness, and mental wellness questions. Make informed decisions about your health. Visit podsights.ai to create your own wellness podcast. Wounded Warriors of the Cross Gary Pastoral and clergy mental health is a mostly ignored area, especially by those who live their lives as pastors in the clergy. The stigma of mental health within those who serve in the shadow of the cross is something that invokes the stigma of fear. Many of those in the clergy will choose to suffer in their despair rather than reaching out for help. Sometimes those suffering choose to wait until it's too late to get the real help that they need. At Wounded Warriors of the Cross our mission is to lift the stigma and the veil of silence that encompasses clergy mental health and assist those who suffer in silence. Wounded Warriors of the Cross is here to shed the light of Christ's love into those dark places. FEAR NOTHING and Have Lots of Fun with Carlie Lara Wallace carlielara Welcome to The Fear Nothing and Have Lots of Fun Podcast!! We get vulnerable, we have fun, and there’s always a bit of the gospel! These episodes detail all that God is doing in my life right now, and what I’m learning through these experiences. NEW EPISODES come out every Wednesday at 6:05am for those hump day early risers!

Frequently Asked Questions

How long is this episode of Higher Signal: Get Smarter. Faster.?

This episode is 4 minutes long.

When was this Higher Signal: Get Smarter. Faster. episode published?

This episode was published on February 27, 2024.

What is this episode about?

Summary:1. Viraz Malhotra, a smart contract engineer from Shell Protocol, discusses improving user experience (UX) in decentralized finance (DeFi) applications by making them atomically composable.2. Current UX issues in DeFi include multiple...

Can I download this Higher Signal: Get Smarter. Faster. episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!