Julian Martinez from SDF walks through Rust smart contract development on Soroban, covering basics like data types and storage, then advances to a staking contract example with cross-contract calls and testing.
Senior Developer Advocate Julian Martinez from the Stellar Development Foundation delivers a comprehensive workshop on Soroban smart contract development in Rust. The session covers foundational concepts including Soroban SDK attributes, data types (symbols, strings, addresses), and contract storage mechanisms using key-value pairs. Participants learn to use Okashi, an online IDE for iterating on contracts, then transition to the Stellar CLI for local development and testnet deployment. The workshop progresses to a staking contract example demonstrating advanced patterns: enumeration-based data keys, authorization framework usage, cross-contract calls to token contracts, and minting/burning share tokens. Testing practices are covered through cargo test examples. Key takeaways include storage access patterns (env.storage.instance.set/get), the three storage types (temporary, instance, persistent), and how to compose contracts via WASM imports.