Terms and Conditions
- I agree to the Grant Agreement terms if funded
- I agree to Provide KYC information if funded above $50,000 USD
- I agree to disclose conflicts of interest
- I understand that this grant program is only eligible for completed work, as it is a retroactive grant program. Applications for planned or partially completed work will not be considered. All completed work will be verified and accepted by its intended users or their representatives, who will confirm that the outputs meet the required quality, functionality, and usability before the work is listed as an option for Coinholder voting.
- I agree that for any new open-source software, I will create a CONTRIBUTING.md file that reflects the high standards of Zcash development, using the
librustzcashstyle guides as a primary reference. - I understand when contributing to existing Zcash code, I am required to adhere to the project specific contribution guidelines, paying close attention to any merge, branch, pull request, and commit guidelines as exemplified in the librustzcash repository.
- I understand all grants are valued in USD but will be disbursed in Shielded ZEC. I acknowledge and accept that disbursement amounts may fluctuate based on the ZEC/USD exchange rate at the time of payment.
Application Owners (@octocat, @octocat1)
@kenbak
Organization or Individual Name
Kenbak
Additional Team Members
N/A
How did you learn about the Lockbox: Coinholder Retroactive Grants Program?
Previous Applicant
Requested Grant Amount (USD)
125000
Category
Infrastructure
Project Summary
ZecBlock (formerly CipherScan) is a production Zcash block explorer and data platform at zecblock.com. This application covers one quarter of completed, previously unfunded work (August – November 2026) that made Zcash chain data queryable by people, developers and AI clients: Zift research, a public API and MCP server, multi-venue cross-chain data, network observability, and the security response that kept it all safe through October.
Project Description
In Q3, coinholders funded the foundation: the Rust indexer, privacy intelligence, mining analytics and the data bot. This quarter built on it, so Zcash data can now be queried, integrated and built on, not only browsed.
This application covers six completed work packages that are not part of any ZCG milestone or the Q3 grant.
1. Zift: AI research and SQL workspace
zecblock.com/zift lets anyone ask a question about Zcash in plain language and get an answer backed by real SQL over public chain data. Every number traces back to its query.
- Questions are compiled into one reviewed, read-only SELECT. Answers include a table, a chart chosen for the data (rankings, daily series, shares) and a units note.
- 21 public datasets: blocks, transactions, pool flows, daily pool history, supply and issuance, mining pools, mining software, block timing, reorgs, orphaned blocks, cross-chain swaps, value pools, transparent UTXO set and coin-days, address summaries and activity, and labels.
- Datasets are added in reviewed batches, and each must pass a publication gate before it can be queried. Production answers for each new dataset were checked against direct SQL and matched.
- Direct SQL mode, plus clarifying questions and follow-ups for longer research.
- Privacy: no account needed, no IP-derived identifiers stored, research saved only in the browser, and optional anonymous answer ratings.
- Safe to expose publicly: SQL is validated at the parser level (allow-listed datasets only, row and time limits), runs under a read-only database role, and has site-wide quotas.
2. Open data layer: /v1 API, OpenAPI and public MCP server
- Stable
/v1API: additive-only compatibility policy and generated OpenAPI 1.0.0 docs at zecblock.com/docs. Public reads need no key. Monetary values are exact zatoshi strings. - Public read-only MCP server at
/v1/mcpwith 22 tools, so any AI client (Claude, ChatGPT, Cursor and others) can query Zcash directly:- blocks, transactions, addresses and mempool
- supply, fees, halving and network accounting
- pool history and activity, reorgs
- cross-chain swaps and venues
- Zift's
sql_catalogueandsql_query - Included in the Docker MCP catalog.
- Search by shortened transaction id or block hash, freshness headers (
X-ZecBlock-Indexed-Height, data age in blocks), and IndexNow notifications so search engines pick up new blocks and transactions quickly.
3. Multi-venue cross-chain data
- Full NEAR Intents history: 290,009 records back to March 30, 2025, fully traversed and reconciled, with continuous live sync. Totals: 277,787 successful swaps, $2.57B reported volume, 5.74M ZEC.
- Swap outcomes: completed, refunded, failed, processing or incomplete deposit. Unfunded quotes are excluded, so counts reflect real swaps.
- Maya Protocol (14,372 records since May 2025) and THORChain (1,361 since October 2026) added as venues with five-minute sync, plus a venue comparison that ranks venues side by side without summing them.
- Transaction pages tag Maya and THORChain swaps, alongside the existing NEAR bridge badges.
- Pair rankings by swap count, USD or ZEC. The data bot now also posts large Maya and THORChain swaps and names each swap's venue.
4. Network and consensus observability
- Chain-qualified node census: peers are verified against the chain before they are counted. Shows Tor availability, client recognition (Zebra, Zakura, Zebend, Seeder) and regional census vantage points. 482 active nodes observed today.
- Gossip topology with globe and map views.
- Competing-block capture: continuous collection of orphaned blocks, a daily orphan-rate chart, and measured capture coverage. Partner observers (zecminingpool.com) report orphans our own nodes never saw.
- Miner data quality: fixed funding-stream outputs being counted as miners and repaired historical summaries. Added readable coinbase messages and miner header time vs. the time ZecBlock first saw each block.
- Attestation monitor for independently reproduced Zero Indexer builds.
5. ZecBlock relaunch and public data surfaces
- CipherScan → ZecBlock (October 1): new identity, typography and design system across mainnet, testnet and API. Zero downtime, with old URLs redirecting.
- Governance hub (/governance): automatic discovery of every coinholder vote round, published results with verification, and a beginner voting guide. This extends Q3's single NU7 vote page to all rounds.
- Live data cards (/cards): 17 branded, always-current fact cards to share or embed.
- Learn hub with a developer onboarding path. Shielded pool activity charts with count, share and image export. ZEC/BTC history.
6. Security response and data integrity ("Black October")
October brought a wave of critical vulnerabilities across the Node.js and Linux stack that the explorer runs on, at the same time as large automated traffic attacks. The work was to keep ZecBlock and its public API safe, online and correct for every user throughout.
- Node2Shell / HTTP2Shell (CVE-2026-111497, Brotli remote code execution). Inventoried every Node process on all eight servers and patched them all to a fixed Node build. Traced which API parsers could reach the vulnerable decoder. Redeployed every frontend once the hosting provider's patched runtime became available.
- API dependency vulnerabilities. Patched an unauthenticated compressed-request crash in the API's body parser (CVE-2026-111181) and validation-library issues. Public JSON reads are now bounded: 2 MiB maximum, 8-second deadline, and size limits checked before validation.
- Outbound credential boundary. Internal service credentials are now attached only to their exact configured origin and never follow redirects. Covered by regression tests.
- Dependency audit. Took four npm lockfiles to zero known findings and removed seven unused dependencies. Shipped Rust fixes (Tokio, rustls-webpki, zstd) to every writer, collector and the standby, verifying the binary hash on each host.
- Host hardening across eight servers. Rolling kernel and OS patches with reboots, MPTCP disabled everywhere, default-deny firewalls where they were missing, and an SSH access review of all eight servers.
No user data, keys or funds were involved. ZecBlock holds no viewing keys and has no user accounts.
Scope intentionally excluded
- ZCG Milestone 4: NU7 support (accounting, block speed, upgrades hub, readiness), shielded rate tracking, infrastructure scaling (HA, failover, monitoring, load testing) and the Zakura node migration.
- Earlier ZCG milestones (M1–M3.5).
- Work funded in Q3: indexer, privacy intelligence, mining analytics, valuation, Network Pulse, the original data bot and the NU7 vote page.
- Crosslink explorer work.
- CipherPay and other Atmosphere Labs products.
- Unreleased research.
Technical Approach (how you did it)
ZecBlock uses two public repositories:
- Kenbak/zecblock: Next.js/React, Express API, PostgreSQL, Redis, scheduled jobs, the MCP server and the Zift worker.
- Kenbak/zecblock-rust: Rust indexer reading node state, plus collectors.
Zift. A separate analytics host receives a filtered PostgreSQL logical-replication feed of reviewed public tables. A model turns each question into SQL. A parser-level policy then checks the SQL (allow-listed datasets, no functions such as now(), row and time limits) before a read-only role runs it. Results are checked against expected units before the answer is shown.
MCP. The server reuses the same /v1 readers and Zift's SQL path, so AI clients get the same data and limits as the website.
Cross-chain. Bounded workers ingest NEAR Intents, Maya and THORChain with fair pagination, retry limits, weekly status rechecks and explicit coverage metadata.
Network data. Node census results are checked against the chain before publication. Orphan capture combines our own observers with partner reports and publishes how much of the network it covers.
Releases. Every release passes CI, security audit, CodeQL and Docker checks, followed by exact-commit deployment and host verification.
Time Period of Work Completion
August - November
Total Budget (USD)
125000
Budget Breakdown
- Compensation:
- $(USD): $125,000
- Justification: Fixed retrospective valuation of six completed work packages covering approximately one quarter of full-time development (August - November): Zift research workspace, open data layer (v1 API, OpenAPI and MCP server), multi-venue cross-chain data, network and consensus observability, the ZecBlock relaunch, and the October security response and data-integrity fixes.
- Technology/Software:
- $(USD): 0
- Justification: No separate technology expense requested.
- Infrastructure/Hosting:
- $(USD): 0
- Justification: Hosting expenses covered by ZCG are excluded. The dedicated analytics host is not claimed.
- Services/Contractors:
- $(USD): 0
- Justification: No contractors included.
- Other:
- $(USD): 0
- Justification: No domains, marketing, or future expenses included.
- Total $(USD): $125,000
Previous Funding
Yes
Previous Funding Details
Q3 2026 Coinholder Retroactive Grant (CipherScan, #47): $375,000, paid October 16, 2026, covering November 2025 – August 2026. This application covers only later work and re-claims nothing from Q3.
Other Funding Sources
Yes
Other Funding Sources Details
- ZCG grant (CipherScan/ZecBlock): $73,500 approved, $58,800 paid through M3.5. M4 ($14,700) covers the items excluded above.
Success Metrics
A block explorer is the heartbeat monitor of a blockchain. This quarter, ZecBlock also became a way to ask that heartbeat questions. A person can ask Zift, a developer can call /v1, and an AI agent can connect over MCP, and all three get the same verified data.
- Data people can question. Zift answers Zcash research questions with the query and source shown. Its 21 datasets range from supply and mining to orphans, swaps and coin-days.
- Zcash in AI tools. Any MCP client can read Zcash from a public, keyless, read-only server with 22 tools, including the same SQL access Zift uses.
- Cross-chain clarity. NEAR Intents, Maya and THORChain flows into and out of Zcash, side by side: 290K+ NEAR records with outcomes, 14K+ Maya, 1.3K+ THORChain.
- Network health in public. A chain-qualified census of 482 active nodes, and orphan capture that partner miners now contribute to. Before this, only node operators could see this data.
- Governance transparency. Every coinholder vote round, including this one, is tracked automatically with verifiable results.
- Safe through Black October. Every server, runtime and dependency was patched through the October vulnerability wave. Two bot fleets were contained without blocking real users, and a decade-old Sprout fee error was corrected for the whole chain.
Platform scale (November 2026)
- 2,038 commits across the two public repositories (1,829 explorer, 209 indexer); 806 of them since August 15 (709 explorer, 97 indexer).
- 59 public page routes, a stable
/v1API with OpenAPI, and a 22-tool MCP server. - Live mainnet, testnet and Crosslink explorers, public lightwalletd and Tor hidden services.
Community reach
- 40,474 visitors and 99,437 page views during this application period (August – November 7, 2026).
Proof of completion
- Repository/Commit:
- ZecBlock explorer / API / MCP / Zift
- ZecBlock Rust indexer
- Zift: #181 workspace, #193 agent, #184 charts, #206 publication gate, #203 no IP identifiers, dataset batches #207 #213 #215 #217 #228 #231
- Open data: #173 public MCP, #199 MCP SQL tools, #174 Docker MCP catalog, #235 OpenAPI, #175 IndexNow
- Cross-chain: #173 Maya/THORChain venues, #176 transaction venue tags, #242 venue swap posts
- Network: #153 topology, #252 regional census, #118 orphan rates, #258 partner observers, #260 daily orphan chart, #125 miner attribution, #196 header time vs first seen
- Security and integrity: #145 dependency audit, #142 Node security update, #157 API dependency fixes and bounded reads, #160 credential boundary, #134 cache efficiency, zecblock-rust #34 Rust security fixes, zecblock-rust #37 Sprout fees, #218 Sprout fee display
- Relaunch: #96 ZecBlock launch, #167 governance, #161 learn, #164 pool activity, #241 data cards
- Deployment/Release:
- Other Evidence (run these yourself):
# Zift datasets via the public MCP server
curl -s -X POST https://api.zecblock.com/v1/mcp -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sql_catalogue","arguments":{}}}' | jq '.result'
# NEAR Intents coverage (290K+ records since 2025-03-30)
curl -s "https://api.zecblock.com/api/crosschain/analytics?period=all" | jq '.coverage | {source, records, earliest, historyTraversalComplete, statusReconciliationComplete}'
# Maya and THORChain venues
curl -s "https://api.zecblock.com/api/crosschain/venues/analytics?venue=maya&period=all" | jq '.coverage | {venue, records, earliest}'
curl -s "https://api.zecblock.com/api/crosschain/venues/analytics?venue=thorchain&period=all" | jq '.coverage | {venue, records, earliest}'
# Node census
curl -s "https://api.zecblock.com/api/network/nodes/upgrade-readiness" | jq '{totalActive, versions: [.versions[] | {protocolVersion, nodeCount, clients}]}'
# Stable v1 API
curl -s "https://api.zecblock.com/v1/network/info" | jq '.meta | {network, indexedHeight, units}'
Conflict of Interest Disclosure
I am the founder and lead developer of ZecBlock and would directly receive this grant.
- I hold a separately scoped ZCG grant for ZecBlock/CipherScan; its M4 items are excluded above.
- I own CipherPay, which uses ZecBlock's public API; none of its work is included here.
- I am not employed by the Zcash Foundation, Shielded Labs, ZODL or any wallet vendor, and I hold no keyholder role.
Community Forum Posting
- I understand it is my responsibility to post a link to this issue on the Zcash Community Forums after this application has been submitted so the community can give input. I understand this is required in order for the community to discuss and vote on this grant application. Note: If you are unable to post on the forum (for example, due to new user restrictions), please leave a comment below, and we will adjust your posting permissions.