INTRO TO STELLAR
Confidential • All rights reserved © 2024 Stellar Development Foundation
Where Blockchain Meets the Real World
OVERVIEW
What Is Stellar?
01
02
03
04
How Stellar Works
How Stellar Smart Contracts Work
Who Uses Stellar?
Intro to Stellar
2
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
STELLAR AMBASSADOR PROGRAM
WHAT STELLAR CAN DO FOR YOU?
Use Cases
5
DESIGNED TO CREATE EQUITABLE ACCESS TO THE GLOBAL FINANCIAL SYSTEM
Intro to Stellar
6
It provides infrastructure for developers use to:
Intro to Stellar
7
It enables connections to real-world assets, payment rails, and cash
Intro to Stellar
8
Products and services built on Stellar interoperate to offer end-to-end solutions to real-world problems
Intro to Stellar
9
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
HOW STELLAR WORKS
Section 2
The Stellar network is made up of connected nodes that work together to validate a common ledger, the Stellar ledger
Intro to Stellar
12
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 | | | |
ACCOUNTS CAN ISSUE ASSETS
Intro to Stellar
14
TRANSACTIONS MODIFY THE LEDGER
Intro to Stellar
15
VALIDATORS USE SCP TO UPDATE THE LEDGER
Intro to Stellar
16
LEDGERS CHAIN TOGETHER
Intro to Stellar
17
state
transition
state
transition
input (transactions)
Output (log/history)
state
input (transactions)
Output (log/history)
REPLICATED STATE MACHINE
Intro to Stellar
SCP’s consensus algorithm
18
replica 2
replica 3
replica 1
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
Intro to Stellar
NETWORK STATISTICS
Total Operations
15.6B
Total Transactions
6.8B
Total Accounts
8.2M
From inception to May 2024
LET’S MAKE A STELLAR TRANSACTION
SOROBAN:
AN INFLECTION POINT.
Intro to Stellar
22
HOW STELLAR SMART CONTRACTS WORK
Section 3
Smart contract: code stored on a blockchain
Soroban: platform for smart contracts on Stellar
Intro to Stellar
24
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 |
CONTRACT DATA CONTAINS WEBASSEMBLY CODE
Intro to Stellar
26
THE LIFECYCLE OF A CONTRACT
Intro to Stellar
Write
Deploy
Invoke
Compile/Build
27
INTERACTING WITH SMART CONTRACTS
Intro to Stellar
28
InvokeHostFunctionOp (via Soroban CLI)
Okashi.dev (browser sandbox)
Welcome to the Stellar India Ambassador Prog
Intro to Stellar
29
The Stellar Asset Contract:
ANYTHING AND EVERYTHING :P
STELLAR INDIA AMBASSADOR PROGRAM
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 |
PUTTING IT ALL TOGETHER
Intro to Stellar
32
A BUILDER’S GREENFIELD
Intro to Stellar
33
QUESTIONS?
stellar.org
© 2023 Stellar Development Foundation
Confidential • All rights reserved © 2023 Stellar Development Foundation
STELLAR DEVELOPER DOCS
THE OKASHI CAKEWALK
Intro to Stellar
36
Your Mission:
THANK YOU!
© 2024 Stellar Development Foundation
https://quest.stellar.org/
Play Stellar Quest
https://discord.gg/stellardev
Join the Stellar Dev Discord