All news
Articlestellar.orgLeigh McCulloch1mo ago

Stellar’s composable auth model

Stellar's Soroban smart contract runtime features a composable authorization model that decouples authorization from fee payment, enabling sponsored transactions, multi-party swaps, and programmable accounts through detachable auth entries and flexible verification logic.

Smart ContractsDevelopers
Lumen Loop's take

Stellar's authorization framework in Soroban separates what needs authorization (declared by contracts via require_auth), how it's verified (handled by the runtime), and the authorization data itself (detachable from transactions). This design enables sponsored transactions where a relayer pays fees while a user authorizes specific operations, atomic multi-party swaps where participants sign independent auth entries, and programmable contract accounts with custom verification logic like multi-sig or spending limits. Auth trees capture only the functions that call require_auth for an address, providing signers visibility into exactly what they're authorizing. Automatic invoker auth allows direct contract-to-contract calls to succeed without additional signatures, enabling frictionless composition across protocols.

Mentioned projects
1 project linked
S
Stellar Development FoundationInfrastructure & Services
Audited
InfrastructureCommunity

The Stellar Development Foundation (SDF) is a non-profit organization that supports the development and growth of the Stellar ne…

View →