SEP-47 adoption report¶
Generated by sep47idx phase0 from the per-network summaries in this directory. Every number below comes from those runs; the date of each run is given in its section.
A declaration is what a contract's sep meta says (SEP-47). An interface match compares its contractspecv0 function types with a rule file. Neither says anything about behavior.
Decision¶
Unique mainnet Wasm hashes declaring any SEP: 13 / 2178 (0.60%). Applicable row of the CLAUDE.md §5.10 decision rule:
< 1%: README headline "Interface index + adoption tracker" with outreach in "How to help"; Phase 2 deferred.
Mainnet¶
Run: 2026-10-07T12:09:34Z, latest ledger 64817831. Parser version 1; rules sep41-v0.5.2.
Method. Census, not a sample. Contract instances and code hashes come from Stellar's Hubble dataset on BigQuery (scripts/hubble-export.sql: current rows of snapshots.contract_data_snapshot and the latest row per hash of crypto_stellar.contract_code). Each instance's executable is decoded from its exported XDR; CAP-85 references are resolved from the export or with getLedgerEntries. By-hash rates are over code hashes not marked deleted that RPC returned live; by-contract rates are over Wasm-running contracts whose code RPC returned live.
Contracts¶
| Count | Share | |
|---|---|---|
| Contracts counted | 156173 | |
| Stellar Asset Contracts | 4042 | 2.59% |
| Wasm (direct hash) | 152131 | 97.41% |
| Wasm by CAP-85 reference | 0 | 0.00% |
| … distinct references they share | 0 | |
| … references unresolved | 0 | |
| Instances archived (measured by seeding the census population at ledger 64818399) | 74959 of 156173 | 48.00% |
| Instance rows that failed to decode | 0 | |
| Wasm contracts whose code is archived or missing | 10154 | |
| Wasm contracts measured (by-contract denominator) | 141977 |
Wasm hashes¶
| Count | |
|---|---|
| Code entries in census | 5261 |
| … marked deleted | 0 |
| Unique hashes measured for | 5261 |
| Archived or missing (not fetched) | 3083 |
| Fetched (by-hash denominator) | 2178 |
| … parsed fully / partly / not at all | 2178 / 0 / 0 |
| … run by at least one contract | 1750 |
Declarations (sep meta)¶
| By unique hash | By contract | |
|---|---|---|
| Declares any SEP | 13 / 2178 (0.60%) | 16 / 141977 (0.01%) |
Factory deployments make many contracts share one hash, so the two columns can differ a lot.
| SEP | Hashes | Contracts |
|---|---|---|
| 40 | 2 | 2 |
| 41 | 11 | 14 |
Anomalies in sep values¶
None found.
Interface (contractspecv0)¶
Hashes with a spec section: 2176 / 2178 (99.91%).
SEP-41 matcher (rules sep41-v0.5.2), counted over fetched hashes and measured contracts:
| Status | Hashes | Contracts | Of which declare SEP-41 (hashes / contracts) |
|---|---|---|---|
match |
120 | 1141 | 11 / 14 |
partial |
79 | 150 | 0 / 0 |
mismatch |
1977 | 140683 | 0 / 0 |
no_spec |
2 | 3 | 0 / 0 |
OK-count histogram (hashes with a spec, by number of the 10 required functions present with accepted types):
| OK | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Hashes | 1822 | 68 | 62 | 13 | 12 | 28 | 3 | 1 | 34 | 13 | 120 |
Undeclared gap (inferred): 109 hashes / 1127 contracts match SEP-41's interface and declare nothing.
Limits¶
Wasm ≤ 1048576 bytes; requested section ≤ 262144 bytes; ≤ 10000 sections; XDR depth ≤ 500.
Testnet¶
Run: 2026-10-07T06:37:37Z, latest ledger 5066292. Parser version 1; rules sep41-v0.5.2.
Method. Sample, not a census: Hubble does not cover testnet. The RPC retention window (ledgers 4944777–5065736) was split into 20 equal strata; each was scanned from its start with getLedgers until it gave its share of contracts not seen before. A contract enters the sample when its instance entry is created or updated in a scanned ledger, so active contracts are more likely to be drawn than idle ones. Each sampled contract's current instance was then read with getLedgerEntries. By-hash rates are over the distinct hashes the sampled contracts run.
Contracts¶
| Count | Share | |
|---|---|---|
| Contracts counted | 2000 | |
| Stellar Asset Contracts | 112 | 5.60% |
| Wasm (direct hash) | 1842 | 92.10% |
| Wasm by CAP-85 reference | 9 | 0.45% |
| … distinct references they share | 9 | |
| … references unresolved | 0 | |
| Instances archived | 37 | 1.85% |
| Instance rows that failed to decode | 0 | |
| Wasm contracts whose code is archived or missing | 76 | |
| Wasm contracts measured (by-contract denominator) | 1775 |
Wasm hashes¶
| Count | |
|---|---|
| Unique hashes measured for | 505 |
| Archived or missing (not fetched) | 26 |
| Fetched (by-hash denominator) | 479 |
| … parsed fully / partly / not at all | 479 / 0 / 0 |
| … run by at least one contract | 479 |
Declarations (sep meta)¶
| By unique hash | By contract | |
|---|---|---|
| Declares any SEP | 0 / 479 (0.00%) | 0 / 1775 (0.00%) |
95% Wilson interval for the by-contract rate: 0.00% to 0.22%. The interval covers sampling error only; the sample is drawn by activity (see Method), which it does not correct for.
Factory deployments make many contracts share one hash, so the two columns can differ a lot.
No SEP number is declared.
Anomalies in sep values¶
None found.
Interface (contractspecv0)¶
Hashes with a spec section: 479 / 479 (100.00%).
SEP-41 matcher (rules sep41-v0.5.2), counted over fetched hashes and measured contracts:
| Status | Hashes | Contracts | Of which declare SEP-41 (hashes / contracts) |
|---|---|---|---|
match |
17 | 100 | 0 / 0 |
partial |
21 | 165 | 0 / 0 |
mismatch |
441 | 1510 | 0 / 0 |
no_spec |
0 | 0 | 0 / 0 |
OK-count histogram (hashes with a spec, by number of the 10 required functions present with accepted types):
| OK | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Hashes | 405 | 24 | 6 | 0 | 6 | 2 | 0 | 0 | 15 | 4 | 17 |
Undeclared gap (inferred): 17 hashes / 100 contracts match SEP-41's interface and declare nothing.
Limits¶
Wasm ≤ 1048576 bytes; requested section ≤ 262144 bytes; ≤ 10000 sections; XDR depth ≤ 500.
Sample: retention window 4944777–5065736, 20 strata, 19600 ledgers scanned, contracts per stratum [100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100], 0 instance entries undecodable.