Matrix CR Studio
← Blog

Checking a Soroban Contract's Build Yourself, November 2026

Pablo Ramirez · · 3 min

If you deployed a Soroban contract this autumn and it still shows as unverified, it may have nothing to do with what you did.

Between 31 August and 24 September, four teams reported on the Stellar Expert build workflow's tracker that they had used the official workflow, that the released WASM matched the deployed one, and that the contract still showed as unverified (issue #9). On 5 October the maintainer replied that "this workflow and the whole contract source verification process was deprecated long time ago" and that "we simply stopped the service that was processing contract verification requests." The service came back, and on 13 October, after the maintainer wrote that they had "spotted the problem on our side", one of the reported contracts was confirmed verified. The issue is still open. And when I queried its Mainnet API on 8 November (https://api.stellar.expert/explorer/public/wasm/ followed by a WASM hash), it answered 402 Payment Required. That is one observation on one day, so check it yourself before relying on it.

So for now there is no single place you can rely on to say whether a build is verified. The good news is that the evidence those answers rested on is public, and you can read it yourself.

What the evidence is

When a GitHub Actions workflow builds a contract with build attestation turned on, GitHub signs a statement naming the WASM's SHA-256, the repository, the commit and the workflow. That SHA-256 is the same hash Stellar uses for the contract's code. The signature is a Sigstore bundle, recorded in a public transparency log.

Checking it

Fetch the code from Mainnet, confirm its hash, download the attestation, and verify it. Any Mainnet RPC should do for the first step, and this public one worked for me today. I used Stellar CLI 23.1.4 and sigstore 4.5.1.

stellar contract fetch --wasm-hash HASH -o contract.wasm \
  --rpc-url https://mainnet.sorobanrpc.com \
  --network-passphrase "Public Global Stellar Network ; September 2015"
sha256sum contract.wasm
gh api repos/OWNER/REPO/attestations/sha256:HASH --jq '.attestations[0].bundle' > contract.sigstore.json
pip install sigstore==4.5.1
python -m sigstore verify github contract.wasm --bundle contract.sigstore.json --repository OWNER/REPO

Replace HASH with the contract's WASM hash and OWNER/REPO with the repository it names. I ran this on a build of perch, a registry contract published by stellar-registry, so HASH was 0acc4da2b0b44b70988fe9a3b64b31e7ace166e5a949e9e6846f72c6ce93c055 and OWNER/REPO was stellar-registry/perch. The bytes from Mainnet hashed to that value, and the check printed OK with the signed statement, which names commit c0cbe28 and the run that built it. A copy with one byte added failed, and so did the same bundle checked against a different repository name.

What OK means

It means a GitHub Actions workflow in the repository you named produced these exact bytes from the commit in the statement. It does not mean the code is safe, that anyone else can rebuild it, or that the repository belongs to whoever deployed the contract. The check itself trusts GitHub's signing and the public Sigstore log, and whether you trust that repository is still your call.

The numbers, 8 November

I run a daily census of Soroban contracts on Mainnet that makes this check for every WASM that names its source repository. The counts below are mine and are not yet published as data, so treat them as one observer's reading. At 11:48 UTC on 8 November, 191 WASMs passed. In the census's last readings of Stellar Expert, the latest taken on 6 November, 65 of those showed as verified, 49 as unverified, and 77 had no record. All 11 perch builds that pass were still among the unverified when last read on 25 and 26 October.

Most code on Mainnet, 5,393 WASMs, names no source repository, so there is nothing to check. The census records those as unchecked, never as failed.

For a contract to be checkable this way, its build needs a workflow that publishes a GitHub build attestation for the WASM, as both the Stellar Expert and stellar-registry release workflows do, and the contract should name its repository in its metadata.

If your contract names its repository and you think it should pass but it does not, send the hash to [email protected] and I will look at why.

Found an error in this post? Tell us, and we will correct it in public.

All postsContact us