Stellar: From Vision to Reality

Sankara LingamSankara Lingam
3 min read

Introduction :

Stellar: From Vision to Reality" referring to the journey of the Stellar network, a blockchain platform designed for fast, affordable, and cross-border payments

Founded in 2014 by Jed McCaleb and Joyce Kim, Stellar began with a vision to create an open financial system that provides access to anyone, world for transferring assets

Why stellar ecosystem :

Stellar is the one of the biggest communities of people building an open network.It's main purpose is to moving and storing money,we can send money anywhere,anytime.

Stellar App: How To Build An App On Stellar Blockchain?

The problem before was that we couldn't send money to one another safely,quickly and cheaply. After stellar got introduced the things getting change,stellar native token (XLM) accepted as recognized as financial assets for cross-border solution in payments. some biggest organisations building here too, like MoneyGram, Circle ,and even the UNHCR

Why soroban

"Stellar doesn't have any smart contract "what"🤔

Yes, stellar using its own SDK "Soroban" for bring smart contracts to blockchain

Without Soroban, Stellar’s platform, the Stellar network would primarily handle simple transactions like asset transfers, cross-border payments, and off-ramp conversions (exchanging digital assets for fiat currency) — particularly focusing on USDC and similar stablecoin transactions.

wait, Soroban unlocks advanced smart contract capabilities on the Stellar network, enabling a wider range of decentralized applications (dApps) and financial services

With Soroban, developers can build complex DeFi platforms like Automated Market Makers (AMMs), lending protocols, and DAOs; create tokenized assets, NFTs, and digital collectibles; and automate business logic and payments.

since soroban built on rust 🦀 ,we have no need worry about security & performance

The three mantras of the Soroban SDK :

  1. Code in Familiar Languages: Use languages like Rust with WebAssembly (WASM) for easy and efficient smart contract development.

  2. Simple and Secure: Create smart contracts with minimal complexity and strong security.

  3. Fast and Predictable: Ensure fast execution and clear, predictable costs for transactions.

How soroban works :

Soroban works, similar to other blockchains, with a focus on code execution and its virtual machine

  • Code Writing:

    • Developers write smart contracts using familiar programming languages like Rust. The contract code defines the logic for tasks like payments, lending, or DAOs.
  • Compilation:

    • The code is compiled into WebAssembly (WASM) bytecode. WASM is a binary format that runs efficiently on various platforms, including the Soroban VM.
  • Deployment:

    • The compiled WASM code is deployed onto the Stellar network. This process involves sending the bytecode to the Stellar ledger where it becomes part of the blockchain.
  • Execution by VM:

    • When a transaction triggers the smart contract, the Soroban Virtual Machine (VM) executes the WASM bytecode. The VM interprets and runs the contract’s logic, interacting with the Stellar ledger to read or write data as specified by the contract.
  • Transaction Processing:

    • The VM processes the contract in real-time, performing tasks like transferring funds, updating account balances, or executing other logic. The results are recorded on the Stellar blockchain, ensuring transparency and immutability.

Scenario: A Simple Payment Automation

  1. Setup: A developer writes a smart contract in Rust using Soroban. This contract automates recurring payments, such as a subscription service.

  2. Deployment: The contract is deployed on the Stellar network using Soroban, and it’s ready to execute.

  3. Execution:

    • User A subscribes to a service and sets up automatic payments.

    • Soroban processes this transaction by executing the smart contract, which deducts a fixed amount from User A’s account at regular intervals.

  4. Outcome: Payments are made automatically and securely, with all transactions settled in seconds. The smart contract ensures funds are transferred as specified without manual intervention

Conclusion :

Would you like to explore specific aspects of Stellar, such as its technology, use cases, or challenges?

Developer Resources

Social Media

Other Resources

0
Subscribe to my newsletter

Read articles from Sankara Lingam directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Sankara Lingam
Sankara Lingam