1 of 37

INTRO TO STELLAR

Confidential • All rights reserved © 2024 Stellar Development Foundation

Where Blockchain Meets the Real World

2 of 37

OVERVIEW

What Is Stellar?

01

02

03

04

How Stellar Works

How Stellar Smart Contracts Work

Who Uses Stellar?

Intro to Stellar

2

3 of 37

OVERVIEW

What Is Stellar?

01

02

03

04

How Stellar Works

Freighter Transactions on Stellar

How Stellar Smart Contracts Work

Intro to Stellar

05

06

Who Uses Stellar?

Okashi Cakewalk

3

4 of 37

STELLAR AMBASSADOR PROGRAM

5 of 37

WHAT STELLAR CAN DO FOR YOU?

Use Cases

5

6 of 37

DESIGNED TO CREATE EQUITABLE ACCESS TO THE GLOBAL FINANCIAL SYSTEM

Intro to Stellar

6

7 of 37

It provides infrastructure for developers use to:

  • issue assets
  • build applications
  • deploy decentralized financial protocols…

Intro to Stellar

7

8 of 37

It enables connections to real-world assets, payment rails, and cash

Intro to Stellar

8

9 of 37

Products and services built on Stellar interoperate to offer end-to-end solutions to real-world problems

Intro to Stellar

9

10 of 37

Stellar allows people all over the world to make payments, convert assets, and move from cash to DeFi in a borderless economy

Intro to Stellar

10

11 of 37

HOW STELLAR WORKS

Section 2

12 of 37

The Stellar network is made up of connected nodes that work together to validate a common ledger, the Stellar ledger

Intro to Stellar

12

13 of 37

THE LEDGER STORES ACCOUNT DATA

Intro to Stellar

13

Accounts hold balances and sign transactions

Public Key

XLM

USDC

Etc.*

Alice

GAJYKA3F5X5VE7CXTH5VSYGNN2HA3O5BHGWNIHK4UWTZAQLHTXIPJ5EU

1,000 XLM

5 USDC

*there are thousands of assets on the ledger right now

Bob

GCQ662R3DCS2IKW7BDGTORELSEL26R3NSGEBGWFUINQ2CSKZ37SZKTPT

10 XLM

25 USDC

Carol

GB7SUIYXWRU6PIIOXY2GS5ZOPN4GTNUISNDUILAPLTTAPZBHA42T6TGG

100,000 XLM

1,000,000 USDC

Etc.*

*there are over 8 million accounts on the ledger right now

14 of 37

ACCOUNTS CAN ISSUE ASSETS

Intro to Stellar

14

  • Stablecoins can be redeemed off-chain
  • Stellar has ecosystem standards to meet compliance requirements (including KYC)
  • Stellar supports a network of on- and off-ramps

15 of 37

TRANSACTIONS MODIFY THE LEDGER

Intro to Stellar

15

  • Payments
  • Swaps (order books, AMMs)
  • Path payments (payment + swap)

16 of 37

VALIDATORS USE SCP TO UPDATE THE LEDGER

Intro to Stellar

16

  • SCP follows Proof-of-Agreement
  • SCP is open participation
  • SCP leverages validators’ real-world reputation

17 of 37

LEDGERS CHAIN TOGETHER

Intro to Stellar

17

  • Validators make up a replicated state machine
  • Transactions are immutable

state

transition

state

transition

input (transactions)

Output (log/history)

state

input (transactions)

Output (log/history)

18 of 37

REPLICATED STATE MACHINE

Intro to Stellar

SCP’s consensus algorithm

18

replica 2

replica 3

replica 1

19 of 37

THE LIFECYCLE OF A TRANSACTION

Intro to Stellar

Users compose operations

Users sign and submit transaction

Ledger updates with hash

Validators bundle transactions

Validators vote

19

20 of 37

20

Intro to Stellar

NETWORK STATISTICS

Total Operations

15.6B

Total Transactions

6.8B

Total Accounts

8.2M

From inception to May 2024

21 of 37

LET’S MAKE A STELLAR TRANSACTION

22 of 37

SOROBAN:

AN INFLECTION POINT.

Intro to Stellar

22

23 of 37

HOW STELLAR SMART CONTRACTS WORK

Section 3

24 of 37

Smart contract: code stored on a blockchain

Soroban: platform for smart contracts on Stellar

Intro to Stellar

24

25 of 37

THE LEDGER STORES CONTRACT DATA

Intro to Stellar

25

Contract data can hold Turing-complete code

Public Key / Contract ID

XLM

USDC

Code

Alice

GAJYKA3F5X5VE7CXTH5VSYGNN2HA3O5BHGWNIHK4UWTZAQLHTXIPJ5EU

1,000 XLM

5 USDC

Bob

GCQ662R3DCS2IKW7BDGTORELSEL26R3NSGEBGWFUINQ2CSKZ37SZKTPT

10 XLM

25 USDC

AMM contract

CCR5C65MAQDYT3RMHFRWILNQ2MJ3B5IER3I3FA3UC2V4CRJCRJTGZNUZ

n/a

n/a

WASM code with AMM logic

Treasury contract

CC2GMSU3J6HWWQLFY6OO23M6PTA7RXWOA7TB3ZL5L3ZS6RDOKKH64RDW

n/a

n/a

WASM code with treasury logic

26 of 37

CONTRACT DATA CONTAINS WEBASSEMBLY CODE

Intro to Stellar

26

  • Wasm is machine-readable bytecode
  • Wasm uses a virtual machine
  • Wasm is Turing-complete
  • Soroban is batteries-included

27 of 37

THE LIFECYCLE OF A CONTRACT

Intro to Stellar

Write

Deploy

Invoke

Compile/Build

27

28 of 37

INTERACTING WITH SMART CONTRACTS

Intro to Stellar

28

InvokeHostFunctionOp (via Soroban CLI)

  • Upload contracts
  • Deploy new contracts
  • Invoke contract functions

Okashi.dev (browser sandbox)

  • Write contracts
  • Deploy contracts
  • Invoke contract functions

29 of 37

Welcome to the Stellar India Ambassador Prog

Intro to Stellar

29

The Stellar Asset Contract:

  • Works with all Stellar assets
  • Built-in ERC-20-like interface

30 of 37

ANYTHING AND EVERYTHING :P

STELLAR INDIA AMBASSADOR PROGRAM

31 of 37

THE STELLAR ECOSYSTEM

Intro to Stellar

31

Ecosystem Specialization

Project Stats

(currently building on Stellar)

Asset issuers

23

DeFi protocols

38

End-user applications

57

Infrastructure providers

117

32 of 37

PUTTING IT ALL TOGETHER

Intro to Stellar

32

33 of 37

A BUILDER’S GREENFIELD

Intro to Stellar

33

  • Interoperability
  • Ecosystem innovation
  • Potential for real-world impact

34 of 37

QUESTIONS?

stellar.org

© 2023 Stellar Development Foundation

Confidential • All rights reserved © 2023 Stellar Development Foundation

35 of 37

STELLAR DEVELOPER DOCS

36 of 37

THE OKASHI CAKEWALK

Intro to Stellar

36

Your Mission:

  • Visit okashi.dev/guides
  • Using the Okashi playground, update the contract code on the guide, simply by modifying the ASCII characters of the 5x5 grid, to produce your own personal illustration.
  • Then deploy the contract to Testnet and mint the art as an NFT.

37 of 37

THANK YOU!

© 2024 Stellar Development Foundation

https://quest.stellar.org/

Play Stellar Quest

https://discord.gg/stellardev

Join the Stellar Dev Discord