
Exchange & Ramp Transfer Guide
A step-by-step guide for exchanges and ramps integrating Stellar, with real transactions on testnet. Since Protocol 23, every asset movement emits the same transfer event on the asset's contract: a classic payment, a Stellar Asset Contract call and a custom SEP-41 transfer all produce it, and a memo or muxed id the sender attached travels in its data as to_muxed_id. An exchange detects every deposit with one check on that field, over Stellar RPC with no Horizon. The incoming flow sends from a classic wallet or an OpenZeppelin smart account, polls getEvents and shows the topics, the data and the match. A ramp matches on the sender instead, and on the exact amount when the rate is locked. Send a mismatch on purpose and watch detection reject it. The outgoing flow covers withdrawals and on-ramps, with the SDK code for each transaction.