Whitepaper · v1.0 · June 2026

The Meshline whitepaper.

AI-powered onchain risk intelligence for Base — one MESH Score you can verify, attested onchain, payable per call by humans and agents alike.

Version 1.0June 2026Base L2EAS · x402
Abstract

Meshline is an AI-powered onchain risk-intelligence layer for Base. It reads any contract, wallet, or app, returns a single 0–1000 MESH Score with a plain-language report, and attests the result onchain via the Ethereum Attestation Service (EAS). Scans are paid per call in USDC over the x402 protocol, so Meshline is natively usable by both people and autonomous agents. The MESH token aligns the network: it unlocks scan discounts, can be burned for credits, gates Pro access, and shares protocol revenue with stakers.

1. The trust gap

Base is one of the fastest-growing L2s, with new contracts deployed every day. That growth comes with a problem: users and agents have no fast, neutral way to tell a safe contract from a honeypot, a rug, or an unverified proxy.

Traditional audits are slow, expensive, and static — a snapshot that ages the moment it's published. Block explorers show raw data, not judgment. The result is a trust gap that throttles onchain adoption and exposes users to avoidable loss. Meshline closes that gap with an instant, neutral, verifiable risk read on any address.

2. What Meshline does

Paste any Base address — a contract, a wallet, or an app. Meshline then:

  • Pulls onchain and source data (Basescan, RPC, EAS).
  • Runs a deterministic signal engine across known risk vectors.
  • Synthesizes a structured, readable report with a language model.
  • Computes a 0–1000 MESH Score and a letter tier.
  • Attests the result onchain so it is verifiable and portable.

Today a full scan takes about 30 seconds; the roadmap brings the core result to under 15. The output is the same whether a human or an agent asked for it.

3. The MESH Score

Every scan resolves to one number from 0 to 1000 — higher is safer — and a letter tier. The score is a weighted aggregation of severity-tagged signals, with weights continuously recalibrated against false positives seen in production scans.

TierScoreMeaning
AAA900–1000Minimal risk — verified, clean, no critical signals.
AA800–899Low risk — minor or well-understood findings.
A650–799Moderate risk — review the report before acting.
BB450–649Elevated risk — meaningful red flags present.
Cbelow 450High risk — likely unsafe; proceed with extreme caution.

4. The signal engine

Beneath the score sits a deterministic engine of independent checks, each carrying a severity (low, medium, high, critical) that penalizes the base score. Signals include:

  • Source verificationIs the contract verified, and does the source match the bytecode?
  • Proxy & upgradeabilityCan the logic be swapped out from under users?
  • Deployer historyWhat has this deployer shipped before — clean or rugged?
  • Honeypot detectionCan funds actually be withdrawn, or only deposited?
  • Ownership & privilegeMint, pause, blacklist, and other privileged powers.
  • Exploit similarityBytecode matched against a curated database of known exploit signatures.

The exploit-similarity set is sourced from incident archives such as Rekt.news and DeFiHackLabs, and expands over time to sharpen detection accuracy.

5. AI reports

Signals and onchain context are passed to a language model (Gemini 2.0 Flash), which writes a structured report: what the contract is, the key risks in plain language, and a clear recommendation. The model explains the score — it never invents it. Reports are exportable as PDF for sharing and record-keeping.

6. Onchain attestation

Every result is written as an attestation on the Ethereum Attestation Service (EAS) on Base. That turns a one-off report into reusable public infrastructure. A MESH Score becomes:

  • Verifiableanyone can check the attestation onchain.
  • Portableother contracts, apps, and agents can read it.
  • Tamper-evidentthe score can't be silently edited after the fact.

An indexer ingests all Meshline attestations into a searchable public registry, so lookups are fast and don't depend on re-scanning.

7. Access & pricing

Meshline is pay-per-use, settled in USDC on Base through x402 — no accounts or API keys required to make a single scan.

  • Free5 scans per month to evaluate Meshline.
  • ProDeeper analysis, scan history, alerts, and batch scanning.
  • Enterprise — $199/moPrivate audits, bulk API, SSO, SOC2 export, and an SLA.

Bulk scanning is priced from 0.0005 USDC per address.

8. The MESH token

MESH is the network's coordination and access asset. Its utility ties directly to using the protocol:

  • Discountshold MESH for cheaper scans — e.g. 100 MESH for 20% off, 1,000 for 40%, 10,000 for free Pro.
  • Burn-for-scanburn 1 MESH onchain for a one-time scan credit.
  • Pro accessholding 10,000 MESH unlocks Pro with no recurring payment.
  • Stakingstake MESH to earn a share of protocol revenue (below).

Token utilities are forward-looking and roll out over the roadmap; see the disclaimer.

9. Staking & revenue share

A MeshStaking contract lets holders stake MESH to earn a share of real protocol revenue. Each week a fixed portion (target 20%) of scan revenue is deposited to the contract and distributed pro-rata to stakers in USDC. Stakers also receive priority, sub-5-minute alerting on watched contracts.

The intent is to tie token value to genuine protocol usage — fees from scans people actually run — rather than to token emissions alone.

10. Built for agents

Meshline is designed to be called by software, not just people. “Scan before you transact” becomes a primitive any agent can use:

  • x402 paymentsan agent's wallet pays per scan — no keys, no accounts, no signup.
  • MCP endpointscan_contract, scan_wallet, and get_report exposed as tools for Claude, Cursor, and other runtimes.
  • Discovery manifesta capability manifest lets Agent.market and the x402 Bazaar auto-discover Meshline's tools, pricing, and schemas.

11. Architecture

  • FrontendNext.js on Base, wallet-native via OnchainKit and agentic wallets.
  • Backenda scan pipeline — data ingestion → signal engine → AI synthesis → scoring → EAS attestation — with a Redis cache and a queue for scheduled re-scans.
  • OnchainEAS attestations, the MESH token, and the staking contract, all on Base L2.

12. Roadmap

Meshline ships post-launch in five waves over six months: report quality and Pro foundations, alerts and watched contracts, token and staking integration, enterprise and scale, and agent-native discovery — followed by a more exploratory phase shaped with the community.

See the full 6-month roadmap

13. Disclaimers

This document is informational only and is not financial, investment, legal, or security advice. A MESH Score is a risk signal, not a guarantee of safety — never treat it as a substitute for your own due diligence. Token utilities described here are planned and may change as the protocol develops. Always do your own research.

Read the risk before you trust it.

Run your first scan, or see what's shipping next.