Source Weigh

Stellar's Protocol 21 Brings Passkey Signing and Cost Optimizations to Soroban Smart Contracts

translateen

Stellar's smart contract platform Soroban is poised for its first major protocol upgrade since launching on mainnet in February. On June 18, network validators will vote on Protocol 21, a package of five Core Advancement Proposals (CAPs) that introduce passkey-based authentication, granular state archival controls, and a trio of fee-reducing optimizations. If approved, the changes will mark a significant step toward making blockchain interactions as seamless as using a modern web application.

Passkey Signing Arrives on Soroban

The headline feature is CAP-0051, which adds support for the secp256r1 elliptic curve to Soroban's host functions. This curve underpins the WebAuthn standard, the technology behind passkeys used for passwordless login on phones, laptops, and browsers. By enabling smart contracts to verify secp256r1 signatures, developers can now build applications where users authorize transactions with a fingerprint or face scan instead of managing seed phrases or private keys.

In simpler terms, passkeys let you sign a blockchain transaction the same way you unlock your phone — with biometrics. The cryptographic credentials never leave your device, and there is no password to phish or lose. While Ethereum has only proposed similar functionality through account abstraction standards, Soroban is implementing it at the protocol layer, giving developers a native, low-level primitive to build smoother onboarding flows for mainstream users.

Community-Driven State Archival Improvements

CAP-0053 addresses a different pain point: the cost of keeping smart contracts alive on the ledger. Soroban uses a rent model where contracts must pay to extend their "time to live" (TTL). Until now, a single host function extended the TTL for both the contract's code and its instance data by the same amount, forcing developers to overpay when only one component needed renewal.

This CAP splits that function in two. Developers can now extend the contract instance TTL and the contract code TTL independently, aligning rent payments with actual storage needs. The proposal came from community member Tommaso De Ponti (known as tdep), highlighting how Stellar's governance model allows external contributors to ship core protocol changes. The feature reduces unnecessary fees and gives builders finer control over their applications' lifecycle costs.

Three-Pronged Approach to Transaction Affordability

The remaining three CAPs target the computational overhead of running WebAssembly (Wasm) smart contracts. CAP-0054 refines the cost model for virtual machine instantiation, replacing conservative overestimates with fees that reflect actual CPU usage.

CAP-0055 streamlines the linking process: instead of loading all 100-plus host functions for every contract, the VM now links only the functions a contract explicitly imports. CAP-0056 adds intra-transaction module caching, so a contract invoked multiple times in a single transaction is parsed only once.

Think of these like optimizations in a web browser. CAP-0054 is like fixing a meter that overcharges for electricity. CAP-0055 is like loading only the JavaScript libraries a page actually uses, rather than every library in existence. CAP-0056 is like caching a compiled script so it doesn't need to be re-parsed on every function call.

Together, they lower the per-transaction CPU budget, increase the number of transactions that fit in a ledger, and improve overall throughput — all without changing how developers write code.

Roadmap to Mainnet Activation

The upgrade follows a staged rollout. Testnet will switch to Protocol 21 on May 14, giving developers six weeks to test their applications against the new host functions and cost models. The mainnet validator vote is scheduled for June 18. If the quorum threshold is met, the protocol activates automatically.

The Stellar Development Foundation has published an upgrade guide covering SDK, RPC, Horizon, and Core version requirements, and coordination is happening in the #protocol-21 channel on the Stellar Developer Discord.

This upgrade cycle demonstrates a maturing ecosystem where protocol evolution is driven by both core engineering and community contributions. By shipping passkey support ahead of larger chains and continuously refining its cost model, Soroban is positioning itself as a developer-friendly platform for real-world financial applications — where user experience and transaction costs are often the deciding factors between adoption and abandonment.

Was this clear?

check_circleVerified by Official Documents

library_booksSource

public

Stellar

24 Nov 2026

Read sourceopen_in_new
funding model
commercial / venture capital / token-based
jurisdiction
International
owner
Private blockchain/crypto company (Stellar)

Was the source link correct?

topicRelated Articles