{"id":11776,"date":"2024-02-21T18:13:03","date_gmt":"2024-02-21T18:13:03","guid":{"rendered":"https:\/\/cheesecakelabs.com\/blog\/"},"modified":"2024-02-28T18:56:51","modified_gmt":"2024-02-28T18:56:51","slug":"stellar-soroban","status":"publish","type":"post","link":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/","title":{"rendered":"A Guide to Soroban in Defining DeFi on the Stellar Network"},"content":{"rendered":"\n<p>How does the introduction of Soroban on the <a href=\"https:\/\/cheesecakelabs.com\/blog\/stellar-network\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stellar network<\/a> redefine the landscape of decentralized finance (DeFi)?<\/p>\n\n\n\n<p>Known for its pioneering role in global payments, Stellar embarks on an ambitious journey with Soroban, aiming to revolutionize DeFi with unmatched efficiency, security, and scalability.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>In this article<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#What-is-Stellar?-A-Trailblazer-in-Global-Payments\">What is Stellar?<\/a><\/li>\n\n\n\n<li><a href=\"#What-is-Stellar-Soroban?\">What is Soroban?<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#The-Technological-Backbone-of-Soroban\">The Technological Backbone of Soroban<\/a><\/li>\n\n\n\n<li><a href=\"#Soroban's-Optimizations-for-DeFi-Success\">Soroban&#8217;s Optimizations for DeFi Success<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#The-Emergence-of-Soroban:-A-Catalyst-for-Stellar's-DeFi-Evolution\">The Emergence of Soroban: A Catalyst for Stellar&#8217;s DeFi Evolution<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Why-Smart-Contracts-Are-Coming-to-Stellar\">Why Smart Contracts Are Coming to Stellar<\/a><\/li>\n\n\n\n<li><a href=\"#Stellar's-Core-Strengths-and-the-Introduction-of-Soroban\">Stellar&#8217;s Core Strengths and the Introduction of Soroban<\/a><\/li>\n\n\n\n<li><a href=\"#The-Future-of-DeFi-on-Stellar\">The Future of DeFi on Stellar<\/a><\/li>\n\n\n\n<li><a href=\"#Looking-Ahead:-Maturation-and-Adoption\">Looking Ahead: Maturation and Adoption<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#Stellar-Plus:-Pioneering-Development-on-Stellar-and-Soroban\">Stellar Plus: Pioneering Development on Stellar and Soroban<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Reducing-Complexity,-Elevating-Possibilities\">Reducing Complexity, Elevating Possibilities<\/a><\/li>\n\n\n\n<li><a href=\"#Key-Features-of-Stellar-Plus\">Key Features of Stellar Plus<\/a><\/li>\n\n\n\n<li><a href=\"#A-Beta-Release-with-a-Vision-for-the-Future\">A Beta Release with a Vision for the Future<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#Open-Source-Demos:-Showcasing-Soroban's-Capabilities-with-Stellar-Plus\">Open-Source Demos: Showcasing Soroban&#8217;s Capabilities with Stellar Plus<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#End-to-End-Soroban-Smart-Contract-Implementations\">End-to-End Soroban Smart Contract Implementations<\/a><\/li>\n\n\n\n<li><a href=\"#Soroban-Liquidity-Pool-Dapp-Example\">Soroban Liquidity Pool Dapp Example<\/a><\/li>\n\n\n\n<li><a href=\"#The-Stellar-Asset-Sandbox:-Experimenting-with-Soroban\">The Stellar Asset Sandbox: Experimenting with Soroban<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#Stellar-and-Soroban:-Bridging-the-Gap-to-DeFi\">Stellar and Soroban: Bridging the Gap to DeFi<\/a><\/li>\n\n\n\n<li><a href=\"#Soroban:-A-Glimpse-into-the-Future\">Soroban: A Glimpse into the Future<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"What-is-Stellar?-A-Trailblazer-in-Global-Payments\"><strong>What is Stellar? A Trailblazer in Global Payments<\/strong><\/h2>\n\n\n\n<p><strong>Founded in 2014, <a href=\"https:\/\/stellar.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stellar<\/a> stands as a decentralized <a href=\"https:\/\/cheesecakelabs.com\/blog\/blockchain-guide-getting-started-blockchain-app\/\" target=\"_blank\" rel=\"noreferrer noopener\">blockchain<\/a> platform specifically designed to facilitate the seamless transaction of digital currencies and assets.<\/strong><\/p>\n\n\n\n<p>With the support of the Stellar Development Foundation (SDF), it has paved the way for global developers and businesses to innovate and build with a focus on open-source collaboration.<\/p>\n\n\n\n<p>The Stellar network architecture is renowned for its robustness, offering a scalable and efficient platform for a wide range of financial use cases.<\/p>\n\n\n\n<p>From cross-border payments to <a href=\"https:\/\/cheesecakelabs.com\/blog\/asset-tokenization\/\" target=\"_blank\" rel=\"noreferrer noopener\">asset tokenization<\/a>, Stellar provides the necessary tools and infrastructure to execute transactions swiftly and at a fraction of the cost associated with traditional financial systems. Its consensus protocol ensures network integrity, allowing for secure and transparent operations across the globe.<\/p>\n\n\n\n<p><strong>At its core, Stellar provides a foundation for accessible financial services, facilitating participation in the global economy for individuals and entities alike.<\/strong> Supported by SDF, this mission is further amplified, providing resources and helping to foster innovation and growth within the Stellar ecosystem.<\/p>\n\n\n\n<p>As Stellar continues to excel in enabling various financial operations with ease and reliability, the introduction of Soroban promises to expand its capabilities significantly.<\/p>\n\n\n\n<p>This next step in Stellar&#8217;s evolution introduces smart contract functionality, <strong>opening up new possibilities for decentralized applications (dApps)<\/strong> and further solidifying Stellar&#8217;s position as a pioneering force in global payments and beyond.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"What-is-Stellar-Soroban?\"><strong>What is Stellar Soroban?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"400\" src=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-smart-contracts-1200x400.jpg\" alt=\"stellar soroban smart contracts platform\" class=\"wp-image-11777\" srcset=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-smart-contracts-1200x400.jpg 1200w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-smart-contracts-600x200.jpg 600w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-smart-contracts-768x256.jpg 768w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-smart-contracts-760x253.jpg 760w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-smart-contracts.jpg 1500w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><figcaption class=\"wp-element-caption\">Source: Soroban X\/Twitter Profile<\/figcaption><\/figure>\n\n\n\n<p><strong><a href=\"http:\/\/stellar.org\/soroban\">Soroban<\/a> can be defined as a smart contract platform that elevates Stellar capabilities, going beyond its strengths as a <a href=\"https:\/\/cheesecakelabs.com\/blog\/create-blockchain-payment-systems\/\" target=\"_blank\" rel=\"noreferrer noopener\">borderless payments<\/a> network to add a whole new layer of programmability and custom decentralized applications.<\/strong><\/p>\n\n\n\n<p>Introduced as part of the Stellar Protocol 20, Soroban is not merely an upgrade but a significant leap forward.<\/p>\n\n\n\n<p>Unlike conventional sidechains, Soroban seamlessly integrates into the existing Stellar blockchain, reflecting its namesake \u2013 the Japanese soroban, the smallest abacus. Soroban sets a global standard for smart contract platforms by focusing on essential functions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"The-Technological-Backbone-of-Soroban\"><strong>The Technological Backbone of Soroban<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Programming Language:<\/strong> Rust &#8211; Renowned for efficiency, speed, and security, fortifying Soroban against vulnerabilities.<\/li>\n\n\n\n<li><strong>Runtime Environment:<\/strong> WebAssembly (WASM) &#8211; Faster and more versatile, combining WASM with Rust for a new generation of applications.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Soroban's-Optimizations-for-DeFi-Success\"><strong>Soroban&#8217;s Optimizations for DeFi Success<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Batteries-Included Developer Experience: <\/strong>Prioritizing a seamless developer experience with built-in contracts, a local sandbox, plug-and-play SDKs, a CLI, and an RPC server.<\/li>\n\n\n\n<li><strong>Performance Enhancements:<\/strong> Leveraging multi-core CPUs, optimized fee models, and a ledger compaction solution to ensure scalability and efficiency.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"The-Emergence-of-Soroban:-A-Catalyst-for-Stellar's-DeFi-Evolution\"><strong>The Emergence of Soroban: A Catalyst for Stellar&#8217;s DeFi Evolution<\/strong><\/h2>\n\n\n\n<p>With its roots deeply embedded in facilitating global payments, Stellar is embracing a significant evolution with the introduction of Soroban.<\/p>\n\n\n\n<p>This strategic expansion marks a pivotal shift towards integrating smart contract capabilities, setting the stage for an innovative era of decentralized finance (DeFi) on the Stellar network.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Why-Smart-Contracts-Are-Coming-to-Stellar\"><strong>Why Smart Contracts Are Coming to Stellar<\/strong><\/h3>\n\n\n\n<p>Recently, I came across <a href=\"https:\/\/www.reddit.com\/r\/Stellar\/comments\/19csl1u\/soroban_eli5\/\" target=\"_blank\" rel=\"noreferrer noopener\">a thread on Reddit<\/a> where users inquired about the potential uses Soroban will bring to the Stellar network. It sparked my interest, and I decided to share my perspective on how this evolution is a game-changer for Stellar and the broader landscape of blockchain applications.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"791\" height=\"764\" src=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/reddit-stellar-defi-soroban.png\" alt=\"thread on reddit about stellar soroban\" class=\"wp-image-11779\" srcset=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/reddit-stellar-defi-soroban.png 791w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/reddit-stellar-defi-soroban-600x580.png 600w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/reddit-stellar-defi-soroban-768x742.png 768w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/reddit-stellar-defi-soroban-760x734.png 760w\" sizes=\"(max-width: 791px) 100vw, 791px\" \/><\/figure>\n\n\n\n<p>Stellar, renowned for its efficiency in cross-border payments, asset issuance, and management, has always provided an ecosystem that is both easy to build for and offers enterprise-level quality and security.<\/p>\n\n\n\n<p>This combination has made Stellar especially appealing to certain profiles and use cases, setting it apart from broader ecosystems like Ethereum.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Stellar's-Core-Strengths-and-the-Introduction-of-Soroban\"><strong>Stellar&#8217;s Core Strengths and the Introduction of Soroban<\/strong><\/h3>\n\n\n\n<p>Reflecting on Stellar&#8217;s journey, it&#8217;s clear that while the network has excelled in specific domains, the introduction of Soroban marks a significant expansion of its capabilities.<\/p>\n\n\n\n<p>Soroban brings the promise of integrating smart contract functionalities, akin to adding a custom brick builder to our reliable Lego set. This evolution not only retains Stellar&#8217;s hallmark qualities but also opens the network to the vast possibilities of DeFi.<br><br>As we stand on the brink of this new era, a pivotal question emerges regarding <a href=\"https:\/\/cheesecakelabs.com\/blog\/how-much-do-soroban-fees-cost\/\" target=\"_blank\" rel=\"noreferrer noopener\">the cost of Soroban fees and their potential impact on the Stellar network<\/a>.<\/p>\n\n\n\n<p>Understanding the implications of Soroban&#8217;s fee structure is essential for those involved in developing solutions on Stellar, offering insights into the network&#8217;s new layer of programmability.<\/p>\n\n\n\n<p>As we approach Soroban&#8217;s mainnet integration, familiarizing yourself with these operational considerations becomes crucial for anyone navigating this innovative landscape.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Explore more here: <a href=\"https:\/\/cheesecakelabs.com\/blog\/how-much-do-soroban-fees-cost\/\">How Much Do Soroban Fees Cost? Running Smart Contracts in Stellar<\/a><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"The-Future-of-DeFi-on-Stellar\"><strong>The Future of DeFi on Stellar<\/strong><\/h3>\n\n\n\n<p>With Soroban, Stellar warmly invites the entire DeFi space to the party. I anticipate a surge in diversity concerning use cases over the next few years.<\/p>\n\n\n\n<p>However, the true differentiator, in my opinion, will be Stellar&#8217;s ability to offer the best of both worlds: the robust foundation of Stellar Classic combined with the innovative flexibility of Soroban.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Looking-Ahead:-Maturation-and-Adoption\"><strong>Looking Ahead: Maturation and Adoption<\/strong><\/h3>\n\n\n\n<p>This journey into uncharted territory is new for Stellar, and I expect the community to initially test the waters, ensuring stability before widespread adoption.<\/p>\n\n\n\n<p>While 2024 will likely see a flurry of developers and startups introducing new use cases, my sights are set on 2025 and beyond for the influx of established DeFi applications and users, assuming everything progresses smoothly.<\/p>\n\n\n\n<p>This development phase is crucial, as it allows time for Soroban to mature alongside <a href=\"https:\/\/cheesecakelabs.com\/blog\/stellar-network\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stellar Classic<\/a>, fostering a unique ecosystem where traditional financial operations and innovative DeFi applications coexist seamlessly.<\/p>\n\n\n\n<p>The interoperability <a href=\"https:\/\/cheesecakelabs.com\/blog\/native-tokens-vs-soroban-tokens\/\">between Classic and Soroban<\/a> is poised to catalyze hybrid solutions, propelling Stellar into a new era of blockchain utility.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Learn about the <a href=\"http:\/\/Navigating Classic Assets and Smart Contract Tokens on Soroban\">differences between Native Tokens and Soroban Tokens in the Stellar networks here.<\/a><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Stellar-Plus:-Pioneering-Development-on-Stellar-and-Soroban\"><strong><a href=\"https:\/\/cheesecake-labs.gitbook.io\/stellar-plus\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stellar Plus: Pioneering Development on Stellar and Soroban<\/a><\/strong><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-thumbnail is-resized\"><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-stellar-plus-300x300.jpg\" alt=\"stellar plus by cheesecake labs\" class=\"wp-image-11781\" style=\"width:328px;height:auto\" srcset=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-stellar-plus-300x300.jpg 300w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-stellar-plus-600x600.jpg 600w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-stellar-plus-768x768.jpg 768w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-stellar-plus-760x760.jpg 760w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-stellar-plus-100x100.jpg 100w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-stellar-plus.jpg 1200w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>In Stellar&#8217;s evolution with the introduction of Soroban, Cheesecake Labs is proud to unveil <a href=\"https:\/\/cheesecake-labs.gitbook.io\/stellar-plus\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stellar Plus<\/a>, a cutting-edge all-in-one JavaScript library.<\/strong><\/p>\n\n\n\n<p>This beta release represents our commitment to reducing friction for developers navigating the Stellar network, particularly as they begin to explore the vast potential of Soroban for smart contract development.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Reducing-Complexity,-Elevating-Possibilities\"><strong>Reducing Complexity, Elevating Possibilities<\/strong><\/h3>\n\n\n\n<p>Stellar Plus is the culmination of Cheesecake Labs&#8217; extensive experience as an integration partner within the Stellar ecosystem.<\/p>\n\n\n\n<p>We&#8217;ve distilled key insights and best practices into Stellar Plus, offering developers seamless tools for account management, asset handling, and smart contract integration.<\/p>\n\n\n\n<p>This library is designed to empower developers, allowing them to focus on innovation rather than the intricacies of blockchain technology.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Key-Features-of-Stellar-Plus\"><strong>Key Features of Stellar Plus<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Account Handling<\/strong>: Simplifies the management of signatures and integrates with popular wallets like Freighter for web applications.<\/li>\n\n\n\n<li><strong>Asset Management<\/strong>: Provides a comprehensive suite for managing various types of assets, including classic tokens and Soroban tokens, and introduces the capability to wrap classic assets into Soroban smart contracts.<\/li>\n\n\n\n<li><strong>Core Engines<\/strong>: Facilitates the building, submitting, signing, and processing of transactions with ease.<\/li>\n\n\n\n<li><strong>Contract Development<\/strong>: Offers default contract client implementations to jumpstart decentralized application (dApp) development.<\/li>\n\n\n\n<li><strong>RPC Integration<\/strong>: Includes handlers for connecting with different RPC solutions, notably Validation Cloud&#8217;s RPC API, enhancing network interaction.<\/li>\n\n\n\n<li><strong>Plugins and Tools<\/strong>: Extends default pipelines for transaction building and submission, incorporating standards such as fee bump wrapping and automatic state restore for smart contracts.<\/li>\n<\/ul>\n\n\n\n<p>Stellar Plus exemplifies Cheesecake Labs&#8217; dedication to improving the developer experience on the Stellar network and unlocks new possibilities for innovative applications.<\/p>\n\n\n\n<p>It&#8217;s fully equipped to handle the nuances of Soroban use cases, ensuring developers can effortlessly transition between Stellar Classic and Soroban functionalities.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"A-Beta-Release-with-a-Vision-for-the-Future\"><strong>A Beta Release with a Vision for the Future<\/strong><\/h3>\n\n\n\n<p>It&#8217;s important to note that Stellar Plus is currently in its beta phase, allowing us to test and refine its capabilities further. We anticipate significant updates to its core architecture before the official stable release, ready for mainnet deployment.<\/p>\n\n\n\n<p>This testing period is crucial for ensuring Stellar Plus meets the high standards of quality, security, and efficiency that developers expect from tools within the Stellar ecosystem.<\/p>\n\n\n\n<p>As we look forward to the broad adoption of Stellar Plus, we&#8217;re excited about the role it will play in fostering a more accessible, efficient, and creative development landscape on Stellar, especially as we venture into the new frontiers opened by Soroban.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Open-Source-Demos:-Showcasing-Soroban's-Capabilities-with-Stellar-Plus\"><strong>Open-Source Demos: Showcasing Soroban&#8217;s Capabilities with Stellar Plus<\/strong><\/h2>\n\n\n\n<p>Cheesecake Labs is at the forefront of exploring Soroban&#8217;s potential through practical, <a href=\"https:\/\/github.com\/CheesecakeLabs\/soroban-dapps\" target=\"_blank\" rel=\"noreferrer noopener\">open-source demonstrations<\/a>.<\/p>\n\n\n\n<p>These demos not only highlight the capabilities of Soroban smart contracts on the Stellar network but also serve as invaluable resources for developers looking to harness the power of Stellar Plus for their projects.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1200\" height=\"712\" src=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-demos-1200x712.png\" alt=\"soroban demos on github\" class=\"wp-image-11783\" style=\"aspect-ratio:1.6853932584269662;width:840px;height:auto\" srcset=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-demos-1200x712.png 1200w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-demos-600x356.png 600w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-demos-768x456.png 768w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-demos-760x451.png 760w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-demos.png 1481w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"End-to-End-Soroban-Smart-Contract-Implementations\"><strong>End-to-End Soroban Smart Contract Implementations<\/strong><\/h3>\n\n\n\n<p>At Cheesecake Labs, our exploration into Soroban&#8217;s transformative capabilities has led to the creation of comprehensive, open-source projects. These endeavors aim to illustrate the practical application of Soroban smart contracts, offering developers a window into the future of dApps on Stellar.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Soroban-Liquidity-Pool-Dapp-Example\"><strong>Soroban Liquidity Pool Dapp Example<\/strong><\/h3>\n\n\n\n<p>A standout among our projects is the <a href=\"https:\/\/github.com\/CheesecakeLabs\/soroban-dapps\/tree\/main\/liquidity-pool\" target=\"_blank\" rel=\"noreferrer noopener\">Soroban Liquidity Pool Dapp Example<\/a>, a React demo project that simulates a liquidity pool application using Soroban smart contracts. This example serves as a testament to the versatility and power of Soroban, enabling complex financial mechanisms like liquidity pools to be implemented with ease and efficiency on the Stellar network.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1116\" height=\"649\" src=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-liquity-pool.png\" alt=\"react demo project liquidity pool dapp soroban example\" class=\"wp-image-11785\" srcset=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-liquity-pool.png 1116w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-liquity-pool-600x349.png 600w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-liquity-pool-768x447.png 768w, https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/soroban-liquity-pool-760x442.png 760w\" sizes=\"(max-width: 1116px) 100vw, 1116px\" \/><\/figure>\n\n\n\n<p>This demo not only showcases the capabilities of Soroban smart contracts but also provides a practical guide for developers to replicate or innovate upon.<\/p>\n\n\n\n<p>The detailed README and structured code offer insights into deploying and interacting with smart contracts, making the Liquidity Pool Dapp an invaluable resource for anyone looking to delve into decentralized finance on Stellar.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"The-Stellar-Asset-Sandbox:-Experimenting-with-Soroban\"><strong>The Stellar Asset Sandbox: Experimenting with Soroban<\/strong><\/h3>\n\n\n\n<p>In addition to our open-source projects, the <a href=\"https:\/\/stellar.cheesecakelabs.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stellar Asset Sandbox<\/a> emerges as a pivotal tool for developers and enthusiasts alike, eager to understand and utilize Soroban&#8217;s smart contract capabilities. <\/p>\n\n\n\n<p>This feature-rich environment empowers users to issue assets, create smart contracts, and simulate transactions within a controlled, user-friendly setting.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The sandbox provides an immediate, hands-on experience with Soroban smart contracts, making it an ideal platform for experimentation and learning.<\/li>\n\n\n\n<li>Users can navigate through the creation and management of smart contracts, witnessing firsthand the impact of Soroban on asset management and DeFi applications on the Stellar network.<\/li>\n\n\n\n<li>This accessible tool encourages exploration and innovation, allowing anyone from seasoned developers to blockchain novices to test and refine their ideas in real-time.<\/li>\n<\/ul>\n\n\n\n<p>Encouraging broad participation and feedback, the Stellar Asset Sandbox plays a crucial role in demystifying Soroban&#8217;s functionalities and fostering a community of innovators committed to expanding the Stellar ecosystem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Stellar-and-Soroban:-Bridging-the-Gap-to-DeFi\"><strong>Stellar and Soroban: Bridging the Gap to DeFi<\/strong><\/h2>\n\n\n\n<p>With many years of credibility in global payments, the Stellar network, bolstered by Soroban, envisions a new DeFi landscape. Anchors, connecting traditional financial rails to the Stellar network, become bridges for individuals to participate in DeFi protocols without a bank account.<\/p>\n\n\n\n<p>Soroban&#8217;s integration with <a href=\"https:\/\/cheesecakelabs.com\/blog\/stellar-anchor\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stellar Anchors<\/a>, including major exchanges like <a href=\"https:\/\/www.coinbase.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Coinbase<\/a> and <a href=\"https:\/\/www.kraken.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kraken<\/a>, establishes a clear vision for global and equitable financial access.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Soroban:-A-Glimpse-into-the-Future\"><strong>Soroban: A Glimpse into the Future<\/strong><\/h2>\n\n\n\n<p>Soroban&#8217;s design, coupled with the maturity, reach, and accessibility of the Stellar network, holds immense potential for shaping the future of the financial system.<\/p>\n\n\n\n<p>As Soroban&#8217;s mainnet launch approaches, developers can experiment on the test network, Futurenet, preparing for a new era of DeFi innovation.<\/p>\n\n\n\n<p>For those intrigued by Soroban and Rust development, initiatives like&nbsp; <a href=\"https:\/\/quest.stellar.org\/soroban\" target=\"_blank\" rel=\"noreferrer noopener\">Soroban Quest<\/a> and <a href=\"https:\/\/fastcheapandoutofcontrol.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Fast, Cheap &amp; Out of Control<\/a> serve as excellent starting points. Join the vibrant community on the official Stellar Developer Discord, where weekly design discussions are open to the public.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How does the introduction of Soroban on the Stellar network redefine the landscape of decentralized finance (DeFi)? Known for its pioneering role in global payments, Stellar embarks on an ambitious journey with Soroban, aiming to revolutionize DeFi with unmatched efficiency, security, and scalability.&nbsp; In this article What is Stellar? A Trailblazer in Global Payments Founded [&hellip;]<\/p>\n","protected":false},"author":81,"featured_media":11787,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[432,1165],"tags":[1267,1268,1203],"class_list":["post-11776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineering","category-blockchain","tag-defi","tag-smart-contracts","tag-stellar-network"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Guide to Soroban in Defining DeFi on the Stellar Network<\/title>\n<meta name=\"description\" content=\"Discover how Soroban embarks on an ambitious journey, revolutionizing DeFi with unparalleled efficiency, security, and scalability on Stellar\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Guide to Soroban in Defining DeFi on the Stellar Network\" \/>\n<meta property=\"og:description\" content=\"Discover how Soroban embarks on an ambitious journey, revolutionizing DeFi with unparalleled efficiency, security, and scalability on Stellar\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/\" \/>\n<meta property=\"og:site_name\" content=\"Cheesecake Labs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cheesecakelabs\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-21T18:13:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-28T18:56:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"860\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Cheesecake Labs\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cheesecakelabs\" \/>\n<meta name=\"twitter:site\" content=\"@cheesecakelabs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/\"},\"author\":{\"name\":\"Fabricius Zatti\"},\"headline\":\"A Guide to Soroban in Defining DeFi on the Stellar Network\",\"datePublished\":\"2024-02-21T18:13:03+00:00\",\"dateModified\":\"2024-02-28T18:56:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/\"},\"wordCount\":2072,\"image\":{\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg\",\"keywords\":[\"defi\",\"smart contracts\",\"stellar network\"],\"articleSection\":[\"Engineering\",\"Blockchain\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/\",\"url\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/\",\"name\":\"A Guide to Soroban in Defining DeFi on the Stellar Network\",\"isPartOf\":{\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg\",\"datePublished\":\"2024-02-21T18:13:03+00:00\",\"dateModified\":\"2024-02-28T18:56:51+00:00\",\"author\":{\"@type\":\"person\",\"name\":\"Fabricius Zatti\"},\"description\":\"Discover how Soroban embarks on an ambitious journey, revolutionizing DeFi with unparalleled efficiency, security, and scalability on Stellar\",\"breadcrumb\":{\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage\",\"url\":\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg\",\"contentUrl\":\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg\",\"width\":1920,\"height\":860,\"caption\":\"stellar soroban\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cheesecakelabs.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Guide to Soroban in Defining DeFi on the Stellar Network\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/#website\",\"url\":\"https:\/\/cheesecakelabs.com\/blog\/\",\"name\":\"Cheesecake Labs\",\"description\":\"Nearshore outsourcing company for Web and Mobile design and engineering services, and staff augmentation for startups and enterprises..\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cheesecakelabs.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"name\":\"Fabricius Zatti\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cheesecakelabs.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2022\/06\/fabricius-zatti.png\",\"contentUrl\":\"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2022\/06\/fabricius-zatti.png\",\"caption\":\"Fabricius Zatti\"},\"url\":\"https:\/\/cheesecakelabs.com\/blog\/autor\/fabricius-zatti\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Guide to Soroban in Defining DeFi on the Stellar Network","description":"Discover how Soroban embarks on an ambitious journey, revolutionizing DeFi with unparalleled efficiency, security, and scalability on Stellar","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/","og_locale":"en_US","og_type":"article","og_title":"A Guide to Soroban in Defining DeFi on the Stellar Network","og_description":"Discover how Soroban embarks on an ambitious journey, revolutionizing DeFi with unparalleled efficiency, security, and scalability on Stellar","og_url":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/","og_site_name":"Cheesecake Labs","article_publisher":"https:\/\/www.facebook.com\/cheesecakelabs","article_published_time":"2024-02-21T18:13:03+00:00","article_modified_time":"2024-02-28T18:56:51+00:00","og_image":[{"width":1920,"height":860,"url":"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg","type":"image\/jpeg"}],"author":"Cheesecake Labs","twitter_card":"summary_large_image","twitter_creator":"@cheesecakelabs","twitter_site":"@cheesecakelabs","twitter_misc":{"Written by":null,"Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#article","isPartOf":{"@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/"},"author":{"name":"Fabricius Zatti"},"headline":"A Guide to Soroban in Defining DeFi on the Stellar Network","datePublished":"2024-02-21T18:13:03+00:00","dateModified":"2024-02-28T18:56:51+00:00","mainEntityOfPage":{"@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/"},"wordCount":2072,"image":{"@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage"},"thumbnailUrl":"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg","keywords":["defi","smart contracts","stellar network"],"articleSection":["Engineering","Blockchain"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/","url":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/","name":"A Guide to Soroban in Defining DeFi on the Stellar Network","isPartOf":{"@id":"https:\/\/cheesecakelabs.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage"},"image":{"@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage"},"thumbnailUrl":"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg","datePublished":"2024-02-21T18:13:03+00:00","dateModified":"2024-02-28T18:56:51+00:00","author":{"@type":"person","name":"Fabricius Zatti"},"description":"Discover how Soroban embarks on an ambitious journey, revolutionizing DeFi with unparalleled efficiency, security, and scalability on Stellar","breadcrumb":{"@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#primaryimage","url":"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg","contentUrl":"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2024\/02\/stellar-soroban-defi.jpg","width":1920,"height":860,"caption":"stellar soroban"},{"@type":"BreadcrumbList","@id":"https:\/\/cheesecakelabs.com\/blog\/stellar-soroban\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cheesecakelabs.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A Guide to Soroban in Defining DeFi on the Stellar Network"}]},{"@type":"WebSite","@id":"https:\/\/cheesecakelabs.com\/blog\/#website","url":"https:\/\/cheesecakelabs.com\/blog\/","name":"Cheesecake Labs","description":"Nearshore outsourcing company for Web and Mobile design and engineering services, and staff augmentation for startups and enterprises..","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cheesecakelabs.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","name":"Fabricius Zatti","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cheesecakelabs.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2022\/06\/fabricius-zatti.png","contentUrl":"https:\/\/ckl-website-static.s3.amazonaws.com\/wp-content\/uploads\/2022\/06\/fabricius-zatti.png","caption":"Fabricius Zatti"},"url":"https:\/\/cheesecakelabs.com\/blog\/autor\/fabricius-zatti\/"}]}},"_links":{"self":[{"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/posts\/11776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/comments?post=11776"}],"version-history":[{"count":5,"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/posts\/11776\/revisions"}],"predecessor-version":[{"id":11812,"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/posts\/11776\/revisions\/11812"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/media\/11787"}],"wp:attachment":[{"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/media?parent=11776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/categories?post=11776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheesecakelabs.com\/blog\/wp-json\/wp\/v2\/tags?post=11776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}