SEP proposal: Clear signing descriptor standard for Soroban contract invocations #2026
kingfavourjudah
started this conversation in
Stellar Ecosystem Proposals
Replies: 1 comment 1 reply
|
This is a real concern but the situation is not that bad. Wallets are showing now function calls and arguments (work in progress for hardware wallets.) So it's not a blind signing. You will always have to trust a 3rd party in the context of smart contracts, there is the Stellar Registry which is proposing a solution to the having a community vetted list. Combined with SEP-55 and SEP-58, we have something compelling. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Stellar's classic operation types (Payment, ChangeTrust, ManageSellOffer, etc.) are fully parseable by hardware wallets — Ledger's Stellar app displays them in human-readable form. Soroban changes this. The
InvokeHostFunctionoperation introduced in Protocol 20 carries arbitrarySCVal-encoded arguments whose meaning is determined entirely by the contract's source code, not the Stellar protocol. Hardware wallets cannot interpret these arguments without external metadata. As a result, signing Soroban contract calls on a hardware device today is, in almost all cases, blind signing — the signer approves a binary payload whose content is not visible to them.This is structurally the same problem Ethereum encountered with ABI-encoded calldata, which contributed to over $1.9B in documented losses between 2021 and 2025. Ethereum's response was ERC-7730 (clear signing descriptors) and a community-maintained registry. Soroban has no equivalent.
Proposed solution
A new SEP defining a clear signing descriptor standard for Soroban — working title SEP-CS — that would specify:
contractspechash) to human-readable display instructions for each functionLedgerHQ/clear-signing-erc7730-registrycontractspechashSoroban has an advantage Ethereum lacked: the
contractspecis embedded in the deployed WASM artefact and is therefore always present and verifiable on-chain. A descriptor standard can reference it directly rather than requiring a separately maintained ABI.Happy to provide a full draft specification, technical design rationale, and implementation notes upon request.
All reactions