Blockchain Transactions: UTxO vs. Account-Based Models
Gustavo Martins | Oct 31, 2024
Soroban represents a pivotal advancement in the Stellar ecosystem, introducing a robust platform for smart contracts that significantly enhances the network’s capabilities.
This innovative layer is not just an addition; it’s a transformative step forward, enabling developers to create more complex, secure, and efficient financial instruments on the Stellar network.
With Soroban, the reach of the Stellar ecosystem can be extended beyond simple transactions and asset trading, diving into the realm of sophisticated financial applications that can cater to the modern demands of the finance sector.
The introduction of Soroban on Stellar is akin to unlocking a new dimension of potential for blockchain technology.
It allows for the creation of new types of applications and expands the existing features capabilities. It can be used to introduce on-chain management of yield-bearing assets, among other advanced financial products, with unparalleled ease and increased security.
By leveraging Soroban, the Stellar network is positioned to offer solutions that rival traditional financial systems, providing a decentralized, transparent, scalable, and programmable platform that meets the needs of a wide array of financial operations.
Soroban’s integration into the Stellar ecosystem reflects a commitment to continuous innovation and user empowerment, helping make financial services more accessible and more efficient for individuals and institutions worldwide.
The Stellar Asset Sandbox showcased at the Meridian event in Madrid, stands as a cornerstone for asset tokenization on Stellar, enhanced by the integration with Soroban for smart contracts.
This innovative tool, developed by Cheesecake Labs provides a simple Sandbox environment for businesses to experiment with creating, managing, and distributing digital assets, including smart contracts for yield-bearing assets, with no code required.
Designed for experimentation and learning, the Stellar Asset Sandbox operates exclusively on Stellar’s testnet. Its purpose is to demonstrate the features and capabilities of asset tokenization and smart contracts in a simulated environment.
Assets created or manipulated within the Sandbox hold no real-world value and should not be treated as such. The Sandbox is designed for experimentation and learning, showcasing how Stellar’s features can be integrated for a seamless asset management experience.
The Sandbox’s user-friendly interface allows for straightforward minting, burning, and management of asset flags, bridging the gap between traditional financial mechanisms and blockchain technology.
The Sandbox not only demonstrates the capabilities of Stellar that allow for straightforward asset management but also its potential for programming more complex financial instruments through Soroban’s smart contract functionality.
As a practical platform for exploring decentralized finance on Stellar, the Stellar Asset Sandbox empowers users to innovate without extensive blockchain expertise, making advanced financial operations accessible to a wider audience.
The Stellar Asset Sandbox introduces an innovative feature for creating yield-bearing assets such as certificates of deposit and bonds in a testnet environment.
This feature in the Sandbox allows users to experiment with and understand the complexities and potential of utilizing blockchain for sophisticated financial products.
The Stellar Asset Sandbox introduces the concept of a vault, which is central to the yield-bearing assets. The vault is a dedicated treasury account in the Sandbox designed to hold and manage the balance of the issued asset.
This vault is critical for interacting with users’ deposits and ensuring a central source for the automated distribution of payouts. In the Sandbox, on top of managing funds within the treasury vault, potential issuers can leverage a smart contract to pay predefined interest rates based on the characteristics defined during its setup.
Furthermore, the Stellar Asset Sandbox provides potential asset managers with easy-to-use, yet intricate and customizable features necessary for effective user fund oversight and tailored management strategies.
Administrators deploying these financial instruments in the Sandbox can define specific rules that govern the operation of the yield-bearing asset, including:
Within the testnet environment, the Stellar Asset Sandbox enables the exploration of highly personalized financial products.
This highlights the versatility of blockchain for experimentation with various preferences and risk profiles.
The yield-bearing asset feature on the Stellar Asset Sandbox uniquely leverages the strengths of both Stellar and Soroban.
While Stellar excels in managing accounts, moving funds, and issuing assets, Soroban introduces the capability to embed these operations within programmable smart contracts.
This use case highlights the seamless interoperability between Stellar’s traditional asset management system and its new smart contract layer, showcasing a special feature that wraps classic assets in standard asset contracts for use with Soroban.
This innovative approach not only demonstrates the practical application of smart contracts in creating complex financial products but also underscores the flexibility and power of the Stellar network in accommodating a broad spectrum of financial operations.
By integrating classic asset management with programmable contracts, the Stellar Asset Sandbox offers a testing platform for users to explore, understand, and innovate with yield-bearing assets, bridging the gap between traditional finance and blockchain technology.
Before we dive into the specifics, ensure you’re registered and signed in to the Stellar Asset Sandbox with an admin role. Sign up or log in here to get started with creating and managing yield-bearing assets.
Choosing the right asset is the first step in creating a yield-bearing product. This decision impacts the asset’s appeal to potential users and its overall performance.
The vault is essential for managing the funds that back your yield-bearing product. It ensures there’s a secure, dedicated account for yield payments and principal security that issuers can prefund upfront or before payments are scheduled to be made. The chosen vault will be used to manage the deposits and facilitate the payout process for the yield-bearing asset.
Deploying the contract is where the rules of your financial product are defined. This step codifies the terms under which depositors will participate, including how and when they earn returns.
Under the hood, the Stellar Asset Sandbox will be deploying a dedicated implementation of this use case to the Soroban testnet in the form of a smart contract and setting up your chosen parameters in a unique instance to be used in the Sandbox.
This step may take a few seconds as the Sandbox is automatically running all the necessary steps to deploy a new smart contract, initialize with the custom parameters, and manage the underlying transactions necessary to execute the whole workflow.
Once the Sandbox finishes its process you’ll be directly taken to the list of yield-bearing assets. You should be able to immediately spot your own custom asset in the list showcasing the defined rules for the yield rate.
Now, Sandbox users may access this asset and perform a deposit to engage with its automated interest-yielding mechanism in testnet. With the contract live, all deposits from users will directly go to the vault.
This step showcases how vault managers can implement custom strategies for fund management, balancing security with growth.
Here we invite you to interact with these test assets and monitor the vault’s balance and transaction history to track deposits. This helps demonstrate the importance of developing a strategy for managing the funds within the vault to maximize returns for the depositors while ensuring the principal is secure.
This guide continues from the previous one to outline the following perspective on how users can participate in testing yield-bearing assets, from setting up their wallets to making a deposit and managing their position.
In the Sandbox, let’s begin by creating a digital wallet if you don’t already have one. This wallet will be used to hold and manage your user balance on the Stellar testnet.
While in edit mode, make sure to select the yield-bearing asset and click on ‘save’. This will ensure your wallet can hold balances of this asset
Once your deposit is confirmed, you should see it under the history list as well as real-time updated position on the right side, showing how much interest has been accrued to your deposit.
Once you have a deposit in place, watch as your deposit position updates in real time within the Sandbox. This allows you to track the accrual of interest based on the terms of the test asset. As time goes by, the rules are automatically applied, updating the balance of your deposit.
By default, once the term for your deposit is reached, it will stop accruing interest and the ‘withdraw’ button will be enabled to withdraw the full amount.
At any moment, you might decide to withdraw early and take the penalty stipulated in the contract. For that, just select the check box for ‘I would like to anticipate my withdrawal’ and click on ‘Withdraw with penalty’
The withdrawal will be automatically processed and you should see your updated balance as well as the details of your transaction in the history list.
Through the Stellar Asset Sandbox, we’ve embarked on a detailed exploration of creating and interacting with test yield-bearing assets, inspired by traditional certificates of deposit, fixed-income, and bonds, yet innovatively implemented on the Stellar blockchain.
This step-by-step journey has not only demystified the process for administrators and users alike but also showcased the powerful capabilities of Soroban in bringing programmable finance to life.
As we wrap up, remember that the Sandbox serves as a dynamic platform for experimentation, learning, and innovation.
Whether you’re deploying a new financial product as an administrator or diving into the possibilities of blockchain instruments as a user, the Stellar Asset Sandbox is your gateway to understanding and leveraging the Stellar network’s vast potential.
We encourage you to continue exploring and experimenting with what’s possible in digital finance. The future of finance is being written today, and through tools like the Stellar Asset Sandbox, you have the opportunity to be part of this exciting narrative.
With several years of experience in customer services, my background goes through several areas of technical support, from incident handling and real-time support to on-site service delivery and Knowledge Management through the KCS Methodology, as well as project and product management.