Stellar Soroban Smart Contracts

Embracing Stellar Soroban Smart Contracts

Scopuly
2 min readFeb 29, 2024

The Stellar community is abuzz with the launch of the Soroban smart contracts platform, heralding a new era for the ecosystem. This phased rollout promises to revolutionize interactions within the Stellar network.

With the introduction of Soroban, there arises a natural curiosity about the interplay between classic Stellar assets and the emerging smart contract-based tokens.

Classic Assets Enhanced: Introducing Stellar Asset Contracts (SAC)

Classic assets, the foundation of Stellar, now have the potential for enhanced utility through Stellar Asset Contracts (SAC). This innovative framework, detailed in Soroban’s documentation, integrates classic assets into Soroban, offering increased flexibility and application while retaining their inherent benefits.

Motivated by Soroban’s potential, Cheesecake Labs embarked on an experiment to assess and compare the performance of classic assets wrapped into SAC against pure smart contract tokens designed for Soroban.

The Experiment: Classic vs. Smart Contract Tokens

The experiment utilized Stellar Plus v0.4.2, a Cheesecake Labs-developed library, to conduct detailed profiling tests. 100 transactions of each type (Mint, Burn, and Transfer) were executed for SAC-wrapped classic tokens and pure Soroban tokens, with data collected on resource consumption, duration, and fees.

Findings: SAC Tokens vs. Pure Soroban Tokens

Stellar Asset Contracts

The results were revealing:

  • SAC tokens demonstrated remarkable resource efficiency, consuming only about 2.19% of the CPU resources compared to Soroban tokens.
  • They also exhibited significantly lower RAM consumption and transaction fees.
  • Although SAC tokens had a slightly longer processing time on average, this was attributed to network load variations.

Offering Seamless Testing and Profiling

Cheesecake Labs employed Stellar Plus v0.4.2, an all-in-one library, for seamless testing and profiling. The open-source code is available on GitHub, and a comprehensive report dashboard on Looker Studio provides deeper insights into the findings.

Integration with Scopuly Wallet: Unlocking the Potential

🌟 Create Your Stellar Address in Scopuly Wallet: (https://scopuly.com/auth) 🚀

Looking Ahead: The Future of Soroban and Stellar

As 2024 unfolds, the Soroban ecosystem is expected to mature, bringing new opportunities and advancements. Cheesecake Labs eagerly anticipates the impact of these developments on the Stellar community, fostering innovation and growth within the ecosystem.

Join:

🔹 Website: scopuly.com
🔹 Telegram: t.me/scopuly
🔹 Twitter: twitter.com/scopuly
🔹 Medium: medium.com/@scopuly
🔹 YouTube: youtube.com/scopuly
🔹 CMC: coinmarketcap.com/community/profile/scopuly

--

--

Scopuly

Scopuly is a secure, simple and multi-account Stellar Wallet and SDEX. Cross-platform wallet is available for iOS, Android, macOS, Windows.